fix errcheck issue (#28548)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
23623fc9c9
Коммит
b49d86c24d
@@ -76,7 +76,6 @@ issues:
|
||||
channels/api4/data_retention.go|\
|
||||
channels/api4/export_test.go|\
|
||||
channels/api4/file_test.go|\
|
||||
channels/api4/import_test.go|\
|
||||
channels/api4/ip_filtering_test.go|\
|
||||
channels/api4/job_test.go|\
|
||||
channels/api4/license.go|\
|
||||
|
||||
@@ -127,7 +127,10 @@ func TestImportInLocalMode(t *testing.T) {
|
||||
|
||||
received, _, err := th.SystemAdminClient.CreateJob(context.Background(), job)
|
||||
require.NoError(t, err)
|
||||
defer th.App.Srv().Store().Job().Delete(received.Id)
|
||||
defer func() {
|
||||
_, err = th.App.Srv().Store().Job().Delete(received.Id)
|
||||
require.NoError(t, err, "Failed to delete job")
|
||||
}()
|
||||
|
||||
cnt1, err := th.App.Srv().Store().Post().AnalyticsPostCount(&model.PostCountOptions{UsersPostsOnly: true})
|
||||
require.NoError(t, err)
|
||||
|
||||
Ссылка в новой задаче
Block a user