forked from TrueCloudLab/frostfs-node
[#1437] node: Fix contextcheck linter
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
6921a89061
commit
7429553266
209 changed files with 1068 additions and 1036 deletions
|
@ -33,9 +33,9 @@ func TestIterateObjects(t *testing.T) {
|
|||
require.NoError(t, blobStor.Open(context.Background(), mode.ReadWrite))
|
||||
|
||||
// initialize Blobstor
|
||||
require.NoError(t, blobStor.Init())
|
||||
require.NoError(t, blobStor.Init(context.Background()))
|
||||
|
||||
defer blobStor.Close()
|
||||
defer blobStor.Close(context.Background())
|
||||
|
||||
const objNum = 5
|
||||
|
||||
|
@ -118,7 +118,7 @@ func TestIterate_IgnoreErrors(t *testing.T) {
|
|||
})}
|
||||
bs := New(bsOpts...)
|
||||
require.NoError(t, bs.Open(ctx, mode.ReadWrite))
|
||||
require.NoError(t, bs.Init())
|
||||
require.NoError(t, bs.Init(ctx))
|
||||
|
||||
nopHandler := func(e common.IterationElement) error {
|
||||
return nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue