tech(alerting): fixes broken unit-tests

This commit is contained in:
bergquist
2016-05-23 14:51:41 +02:00
parent 9d500df2bb
commit 77ec575b46
3 changed files with 21 additions and 7 deletions
+9 -3
View File
@@ -30,10 +30,16 @@ type AlertRule struct {
Updated time.Time `json:"updated"`
}
type HeartBeat struct {
type AlertingClusterInfo struct {
ServerId string
ClusterSize int
UptimePosition int
}
type HeartBeatCommand struct {
ServerId string
Updated time.Time
Created time.Time
Result AlertingClusterInfo
}
type AlertRuleChange struct {