File tree Expand file tree Collapse file tree 3 files changed +0
-104
lines changed Expand file tree Collapse file tree 3 files changed +0
-104
lines changed Original file line number Diff line number Diff line change @@ -64,21 +64,6 @@ func (arr *DefaultRuleReader) Fetch() []*Rule {
64
64
}
65
65
66
66
func (arr * DefaultRuleReader ) heartbeat () {
67
-
68
- //Lets cheat on this until we focus on clustering
69
- //log.Info("Heartbeat: Sending heartbeat from " + this.serverId)
70
67
arr .clusterSize = 1
71
68
arr .serverPosition = 1
72
-
73
- /*
74
- cmd := &m.HeartBeatCommand{ServerId: this.serverId}
75
- err := bus.Dispatch(cmd)
76
-
77
- if err != nil {
78
- log.Error(1, "Failed to send heartbeat.")
79
- } else {
80
- this.clusterSize = cmd.Result.ClusterSize
81
- this.serverPosition = cmd.Result.UptimePosition
82
- }
83
- */
84
69
}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -88,11 +88,6 @@ func TestAlertRuleModel(t *testing.T) {
88
88
Convey ("Can read notifications" , func () {
89
89
So (len (alertRule .Notifications ), ShouldEqual , 2 )
90
90
})
91
- /*
92
- Convey("Can read noDataMode", func() {
93
- So(len(alertRule.NoDataMode), ShouldEqual, m.AlertStateCritical)
94
- })
95
- */
96
91
})
97
92
})
98
93
}
You can’t perform that action at this time.
0 commit comments