Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
walldiss committed Aug 11, 2023
1 parent ee25882 commit 226e518
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nodebuilder/store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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())
}

0 comments on commit 226e518

Please sign in to comment.