EventType is now based on string

This commit is contained in:
Jonathan Leibiusky @xetorthio
2017-08-10 17:04:40 -03:00
parent 79181b2a17
commit ce8ec8a151
5 changed files with 14 additions and 34 deletions

View File

@@ -27,7 +27,7 @@ type collectStats struct {
var CollectStatsEvent event.EventType
func init() {
CollectStatsEvent = event.NewEventType("instance stats")
CollectStatsEvent = event.EventType("instance stats")
}
func (t *collectStats) Name() string {