- up
This commit is contained in:
@@ -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,
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user