diff options
author | obscuren <geffobscura@gmail.com> | 2015-01-28 17:23:18 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-01-28 17:23:18 +0800 |
commit | f3e78c8f3cd2196ef70a41f298b6df556543d581 (patch) | |
tree | e3db9bf06e87b1259a43161338447e6f82cf4c42 /event/filter/old_filter.go | |
parent | c54a85ee644bf02dd79e43e6a0ee3528bb39a815 (diff) | |
download | go-tangerine-f3e78c8f3cd2196ef70a41f298b6df556543d581.tar go-tangerine-f3e78c8f3cd2196ef70a41f298b6df556543d581.tar.gz go-tangerine-f3e78c8f3cd2196ef70a41f298b6df556543d581.tar.bz2 go-tangerine-f3e78c8f3cd2196ef70a41f298b6df556543d581.tar.lz go-tangerine-f3e78c8f3cd2196ef70a41f298b6df556543d581.tar.xz go-tangerine-f3e78c8f3cd2196ef70a41f298b6df556543d581.tar.zst go-tangerine-f3e78c8f3cd2196ef70a41f298b6df556543d581.zip |
reworking messages => log
Diffstat (limited to 'event/filter/old_filter.go')
-rw-r--r-- | event/filter/old_filter.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/event/filter/old_filter.go b/event/filter/old_filter.go index 1a9a88173..c30a7e584 100644 --- a/event/filter/old_filter.go +++ b/event/filter/old_filter.go @@ -77,13 +77,13 @@ out: } self.filterMu.RUnlock() - case state.Messages: + case state.Logs: self.filterMu.RLock() for _, filter := range self.filters { - if filter.MessageCallback != nil { - msgs := filter.FilterMessages(event) + if filter.LogsCallback != nil { + msgs := filter.FilterLogs(event) if len(msgs) > 0 { - filter.MessageCallback(msgs) + filter.LogsCallback(msgs) } } } |