[MM-55595] Use annotated logger in search layer (#25468)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
5a4dba8809
Коммит
b2ec1ff8ae
@@ -87,7 +87,7 @@ func BenchmarkUploadFile(b *testing.B) {
|
||||
if err != nil {
|
||||
b.Fatal(err)
|
||||
}
|
||||
th.App.Srv().Store().FileInfo().PermanentDelete(info1.Id)
|
||||
th.App.Srv().Store().FileInfo().PermanentDelete(th.Context, info1.Id)
|
||||
th.App.RemoveFile(info1.Path)
|
||||
},
|
||||
},
|
||||
@@ -105,7 +105,7 @@ func BenchmarkUploadFile(b *testing.B) {
|
||||
if aerr != nil {
|
||||
b.Fatal(aerr)
|
||||
}
|
||||
th.App.Srv().Store().FileInfo().PermanentDelete(info.Id)
|
||||
th.App.Srv().Store().FileInfo().PermanentDelete(th.Context, info.Id)
|
||||
th.App.RemoveFile(info.Path)
|
||||
},
|
||||
},
|
||||
@@ -123,7 +123,7 @@ func BenchmarkUploadFile(b *testing.B) {
|
||||
if aerr != nil {
|
||||
b.Fatal(aerr)
|
||||
}
|
||||
th.App.Srv().Store().FileInfo().PermanentDelete(info.Id)
|
||||
th.App.Srv().Store().FileInfo().PermanentDelete(th.Context, info.Id)
|
||||
th.App.RemoveFile(info.Path)
|
||||
},
|
||||
},
|
||||
@@ -140,7 +140,7 @@ func BenchmarkUploadFile(b *testing.B) {
|
||||
if aerr != nil {
|
||||
b.Fatal(aerr)
|
||||
}
|
||||
th.App.Srv().Store().FileInfo().PermanentDelete(info.Id)
|
||||
th.App.Srv().Store().FileInfo().PermanentDelete(th.Context, info.Id)
|
||||
th.App.RemoveFile(info.Path)
|
||||
},
|
||||
},
|
||||
@@ -157,7 +157,7 @@ func BenchmarkUploadFile(b *testing.B) {
|
||||
if aerr != nil {
|
||||
b.Fatal(aerr)
|
||||
}
|
||||
th.App.Srv().Store().FileInfo().PermanentDelete(info.Id)
|
||||
th.App.Srv().Store().FileInfo().PermanentDelete(th.Context, info.Id)
|
||||
th.App.RemoveFile(info.Path)
|
||||
},
|
||||
},
|
||||
|
||||
Ссылка в новой задаче
Block a user