Skip to content

fix(install): add error handling, code cleanups, and YAML type refactor#2491

Merged
oschwartz10612 merged 2 commits intofosrl:devfrom
rodneyosodo:fix/install
Feb 25, 2026
Merged

fix(install): add error handling, code cleanups, and YAML type refactor#2491
oschwartz10612 merged 2 commits intofosrl:devfrom
rodneyosodo:fix/install

Conversation

@rodneyosodo
Copy link
Copy Markdown
Contributor

Community Contribution License Agreement

By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.

Description

Improves the install package with better error handling and code quality cleanups across multiple files. Replaces interface{} with any for YAML map types to use modern Go idioms.

How to test?

  1. Run the installer and verify it completes without errors.
  2. Test error paths (e.g., invalid config, missing input) to confirm errors are surfaced correctly instead of silently ignored.
  3. Confirm CrowdSec and container setup still behave as expected.

Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
@oschwartz10612 oschwartz10612 merged commit eef51f3 into fosrl:dev Feb 25, 2026
0 of 3 checks passed
@oschwartz10612
Copy link
Copy Markdown
Member

Thanks so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants