From 226e518d3860952150fea10327704d49235eff57 Mon Sep 17 00:00:00 2001 From: Vlad Date: Fri, 11 Aug 2023 15:13:48 +0300 Subject: [PATCH] fix lint --- nodebuilder/store_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nodebuilder/store_test.go b/nodebuilder/store_test.go index 793d77cef4..ec0f86d108 100644 --- a/nodebuilder/store_test.go +++ b/nodebuilder/store_test.go @@ -161,7 +161,7 @@ type store struct { edsStore *eds.Store } -func newStore(t require.TestingT, ctx context.Context, dir string) store { +func newStore(ctx context.Context, t require.TestingT, dir string) store { s, err := OpenStore(dir, nil) require.NoError(t, err) ds, err := s.Datastore() @@ -176,7 +176,7 @@ func newStore(t require.TestingT, ctx context.Context, dir string) store { } } -func (s *store) stop(t *testing.T, ctx context.Context) { +func (s *store) stop(ctx context.Context, t *testing.T) { require.NoError(t, s.edsStore.Stop(ctx)) require.NoError(t, s.s.Close()) }