Use logrus imports instead of log (#662)

This commit is contained in:
Duco van Amstel
2018-12-26 15:16:09 +01:00
committed by Wim
parent 1b834c6858
commit da8e415ae1
10 changed files with 42 additions and 43 deletions

View File

@@ -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)
}
}