summaryrefslogtreecommitdiffstats
path: root/matterclient/channels.go
diff options
context:
space:
mode:
Diffstat (limited to 'matterclient/channels.go')
-rw-r--r--matterclient/channels.go4
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)
}
}