-
Notifications
You must be signed in to change notification settings - Fork 234
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 the collector fail to start issue after updated the new config deps #450
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remove the config.TryConfig as well (and its usage in config factory test).
Codecov Report
@@ Coverage Diff @@
## main #450 +/- ##
=======================================
Coverage 82.72% 82.72%
=======================================
Files 6 6
Lines 110 110
=======================================
Hits 91 91
Misses 10 10
Partials 9 9 Continue to review full report at Codecov.
|
@@ -45,3 +47,11 @@ func runService(params service.Parameters) error { | |||
|
|||
return nil | |||
} | |||
|
|||
// Has to set exit code 0 for the fatal errors when run the collector as service in Windows |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a new level of hack 😅 for #340
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any better idea? I think it seems better than previous one :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, it's better than previous one from me (which didn't even work ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
done, thx |
Description:
Fix the new config interface error and taken care of windows exit code(0) issue