diff options
author | Duco van Amstel <duco.vanamstel@gmail.com> | 2018-12-26 15:16:09 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2018-12-26 15:16:09 +0100 |
commit | da8e415ae1fb899df4fb05a8a81934e205fb4765 (patch) | |
tree | fca9a1b2b26c9971cf0e21e8e53ac8014cd77ccf /matterclient/channels.go | |
parent | 1b834c6858d6fdb8927f6a75fad2116d6d2bd394 (diff) | |
download | matterbridge-msglm-da8e415ae1fb899df4fb05a8a81934e205fb4765.tar.gz matterbridge-msglm-da8e415ae1fb899df4fb05a8a81934e205fb4765.tar.bz2 matterbridge-msglm-da8e415ae1fb899df4fb05a8a81934e205fb4765.zip |
Use logrus imports instead of log (#662)
Diffstat (limited to 'matterclient/channels.go')
-rw-r--r-- | matterclient/channels.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/matterclient/channels.go b/matterclient/channels.go index 84d43bae..ddd4d006 100644 --- a/matterclient/channels.go +++ b/matterclient/channels.go @@ -5,7 +5,7 @@ import ( "strings" "github.com/mattermost/mattermost-server/model" - log "github.com/sirupsen/logrus" + "github.com/sirupsen/logrus" ) // GetChannels returns all channels we're members off @@ -192,7 +192,7 @@ func (m *MMClient) UpdateChannelHeader(channelId string, header string) { //noli m.log.Debugf("updating channelheader %#v, %#v", channelId, header) _, resp := m.Client.UpdateChannel(channel) if resp.Error != nil { - log.Error(resp.Error) + logrus.Error(resp.Error) } } |