[MM-55480] Update logr to v2.0.21 (#25431)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
7848ea8e19
Коммит
e99ded1635
@@ -8,9 +8,9 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/mattermost/logr/v2"
|
||||
"github.com/mattermost/mattermost/server/public/model"
|
||||
"github.com/mattermost/mattermost/server/public/shared/i18n"
|
||||
"github.com/mattermost/mattermost/server/public/shared/mlog"
|
||||
"github.com/mattermost/mattermost/server/public/shared/request"
|
||||
"github.com/mattermost/mattermost/server/v8/channels/app"
|
||||
"github.com/mattermost/mattermost/server/v8/platform/shared/filestore"
|
||||
@@ -86,7 +86,7 @@ func (*ExportLinkProvider) DoCommand(a *app.App, c request.CTX, args *model.Comm
|
||||
}
|
||||
t, err := b.FileModTime(f)
|
||||
if err != nil {
|
||||
a.Log().Warn("Failed to get file mod time", logr.String("file", f), logr.Err(err))
|
||||
a.Log().Warn("Failed to get file mod time", mlog.String("file", f), mlog.Err(err))
|
||||
continue
|
||||
}
|
||||
if t.After(latestFound) {
|
||||
|
||||
Ссылка в новой задаче
Block a user