You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The AlertSettings field of the Check struct is currently a struct. The result is that when this field is omitted, the resulting JSON still contains the value. This is not what the API expects or what is documented in the API docs.
The
AlertSettings
field of theCheck
struct is currently a struct. The result is that when this field is omitted, the resulting JSON still contains the value. This is not what the API expects or what is documented in the API docs.This can be see here: https://play.golang.org/p/cupZglCunSx
Which prints:
If you were to change the
AlertSettings
field to a pointer type, the resulting JSON will be what's expected.This can be seen here: https://play.golang.org/p/YbWYjwaW3RU
Which prints:
This is also true for the subfields of
AlertSettings
:RunBasedEscalation
TimeBasedEscalation
Reminders
SSLCertificates
The text was updated successfully, but these errors were encountered: