collector
This commit is contained in:
parent
39dabb08e7
commit
ea18aeab18
|
@ -15,7 +15,7 @@ func handleConfigLoaded() {
|
|||
|
||||
coll := GetInstance()
|
||||
coll.start(confMng)
|
||||
observer.Remove(messages.CRM_READY, ch)
|
||||
//observer.Remove(messages.CRM_READY, ch)
|
||||
}
|
||||
|
||||
func (c *Collector) notifyCollectorReady() {
|
||||
|
@ -31,7 +31,7 @@ func (c *Collector) handleAgentWillStop() {
|
|||
observer.Add(messages.AGT_WILL_STOP, ch)
|
||||
data := <-ch
|
||||
c.Stop(data)
|
||||
observer.Remove(messages.AGT_WILL_STOP, ch)
|
||||
//observer.Remove(messages.AGT_WILL_STOP, ch)
|
||||
}
|
||||
|
||||
func (c *Collector) handleSensorStart() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user