Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken plugin startup from translated config file #822

Closed
j-lanson opened this issue Jan 24, 2025 · 1 comment
Closed

Fix broken plugin startup from translated config file #822

j-lanson opened this issue Jan 24, 2025 · 1 comment
Assignees
Labels
product: hc Relates to the core "hc" binary type: bug Something isn't working
Milestone

Comments

@j-lanson
Copy link
Collaborator

Running ./target/debug/hc --config ./config/ check https://github.com/mitre/hipcheck, we get:

thread 'main' panicked at hipcheck/src/plugin/mod.rs:165:60:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

because git doesn't have any configuration when translated from a Hipcheck.toml` file.

@j-lanson j-lanson added product: hc Relates to the core "hc" binary type: bug Something isn't working labels Jan 24, 2025
@j-lanson j-lanson added this to the 3.10.0 milestone Jan 24, 2025
@j-lanson j-lanson self-assigned this Jan 24, 2025
@j-lanson
Copy link
Collaborator Author

Pretty sure this has been resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product: hc Relates to the core "hc" binary type: bug Something isn't working
Projects
Status: Done
Status: Done
Development

No branches or pull requests

1 participant