-
Notifications
You must be signed in to change notification settings - Fork 119
Fix Fleet Agent Policy monitoring settings #448
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 Fleet Agent Policy monitoring settings #448
Conversation
- Fixed Fleet Agent Policy monitoring settings not being applied correctly, particularily when the values would be set to false. - Update Fleet Agent Policy acceptance tests to verify disabling monitoring works as intended. - Fix ELASTICSEARCH_INSECURE environment variable not being set.
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
|
||
if insecure, ok := os.LookupEnv("ELASTICSEARCH_INSECURE"); ok { | ||
if insecureValue, err := strconv.ParseBool(insecure); err != nil { | ||
if insecureValue, err := strconv.ParseBool(insecure); err == nil { |
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.
👍
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
@tobio, looks like the merge cleared your review, so if you could re-approve and merge, that'd be great! |
Related:
Agent Logging
Fails #432