-
Notifications
You must be signed in to change notification settings - Fork 14
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
Breaking changes in v0.4.0? #18
Comments
@alexlawrence You should delete those two lines unless you want to change the default values. I decided to change this part of the API because it is still in the 0.x.x phase of versioning, and using pointers to check for existence of this setting was the correct way to do this. Sorry if it caused any inconvenience. |
Removed both Output:
|
you're right, I have reproduced it and I am working on a fix now |
@alexlawrence the command line flag defaults were making the value 0 by default so I switched it back to the 0 value for It should be fixed now, let me know if you have any problems |
Thanks for the fast work! Could you please update the binaries? |
yes, they should be there now |
Sorry to bother again. Alerting works now but the e-mails look a bit weird:
It seems that it does not convert the boolean (pointer?) correctly to a string. Edit: This issue is not critical. |
- the call to errors.Wrapf was obscured in a function call and caused the linter to miss a pointer that should have been dereferenced. - the function that wraps errors now takes a string so the caller must call fmt.Sprintf which catches any errors - updated version to 0.4.3
right, that should have been caught by my linter, but it was obscured in a function call. Should be fixed now in 0.4.3 |
- command line flag defautls were overwriting the nil value that was to be read in from the config file. - 0 value for `iterations` now signals the monitor to run forever - changed initconfig default config to reflect 0 value means run forever
- the call to errors.Wrapf was obscured in a function call and caused the linter to miss a pointer that should have been dereferenced. - the function that wraps errors now takes a string so the caller must call fmt.Sprintf which catches any errors - updated version to 0.4.3
I downloaded the latest version in order to be able to only check for container existence. However, it seems like alerting does not work at all anymore. Sample config:
When stopping a container expected to be running, nothing happens.
Any idea what could be wrong?
The text was updated successfully, but these errors were encountered: