Closed poleszcz closed 1 year ago
Issue is caused by the way how json encoder handles false booleans... https://github.com/appoptics/appoptics-api-go/blob/0d52a6e35dd9872c96be9961c0474a8917e59415/alerts.go#L26 https://github.com/golang/go/issues/13284
False booleans are removed from struct and not encoded into http request.
Fixed with v0.5.2
After setting
active
tofalse
alert stays enabled in AO and each time plan tries to disable it