Renamed Initialized to Pending

This commit is contained in:
utkarshcmu
2016-11-01 07:30:55 -07:00
parent dcaae47e96
commit d9f2519916
5 changed files with 10 additions and 10 deletions

View File

@@ -16,7 +16,7 @@ const (
AlertStatePaused AlertStateType = "paused"
AlertStateAlerting AlertStateType = "alerting"
AlertStateOK AlertStateType = "ok"
AlertStateInitialized AlertStateType = "initialized"
AlertStatePending AlertStateType = "pending"
)
const (
@@ -27,7 +27,7 @@ const (
)
func (s AlertStateType) IsValid() bool {
return s == AlertStateOK || s == AlertStateNoData || s == AlertStateExecError || s == AlertStatePaused || s == AlertStateInitialized
return s == AlertStateOK || s == AlertStateNoData || s == AlertStateExecError || s == AlertStatePaused || s == AlertStatePending
}
func (s NoDataOption) IsValid() bool {