We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3cd89c commit 1744e44Copy full SHA for 1744e44
client_alert.go
@@ -204,7 +204,7 @@ type Schedule struct {
204
205
type AlertConfiguration struct {
206
Condition string `json:"condition"`
207
- MuteUntil int64 `json:"muteUntil"`
+ MuteUntil int64 `json:"muteUntil,omitempty"`
208
NotificationList []*Notification `json:"notificationList"`
209
NotifyThreshold int32 `json:"notifyThreshold"`
210
Throttling string `json:"throttling"`
@@ -229,7 +229,7 @@ type AlertConfiguration struct {
229
PolicyConfiguration PolicyConfiguration `json:"policyConfiguration"`
230
AutoAnnotation bool `json:"autoAnnotation"`
231
232
- Tags []string `json:"tags"`
+ Tags []string `json:"tags,omitempty"`
233
}
234
235
func (c *Client) CreateSavedSearch(project string, savedSearch *SavedSearch) error {
0 commit comments