This commit is contained in:
gazebo
2019-04-27 18:47:58 +08:00
parent 8249f1727f
commit 554b0351a6

View File

@@ -123,7 +123,7 @@ func (e *EventHub) eventRoutine() {
e.removeChan(notifyChan)
}
} else {
globals.SugarLogger.Warnf("eventRoutine, eventCategory:%s producer is nil")
globals.SugarLogger.Warnf("eventRoutine, eventCategory:%s producer is nil", eventCategory)
}
}
}
@@ -207,7 +207,7 @@ func (e *EventHub) PostNewEvent(eventCategory string, event *EventInfo) {
newEvent.Type = composeEventType(eventCategory, event.Type)
e.cmdChan <- &tCmd{
cmdType: cmdNewEvent,
data: event,
data: &newEvent,
}
})
}