Skip to content
This repository has been archived by the owner on Oct 29, 2020. It is now read-only.

Commit

Permalink
Add field to represent condtion_scope to AlertCondition
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Tyng committed Mar 27, 2017
1 parent 0183aa7 commit 5fbf16b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ type AlertCondition struct {
Metric string `json:"metric,omitempty"`
RunbookURL string `json:"runbook_url,omitempty"`
Terms []AlertConditionTerm `json:"terms,omitempty"`
UserDefined AlertConditionUserDefined `json:"uder_defined,omitempty"`
UserDefined AlertConditionUserDefined `json:"user_defined,omitempty"`
Scope string `json:"condition_scope,omitempty"`
}

// AlertChannelLinks represent the links between policies and alert channels
Expand Down

0 comments on commit 5fbf16b

Please sign in to comment.