Skip to content

Commit

Permalink
Update elasticsearch_test.go
Browse files Browse the repository at this point in the history
Signed-off-by: Vamshi Maskuri <117595548+varshith257@users.noreply.github.com>
  • Loading branch information
varshith257 committed May 21, 2024
1 parent 489d417 commit 89bd4c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/storage/integration/elasticsearch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func (s *ESStorageIntegration) initializeESFactory(t *testing.T, allTagsAsFields
require.NoError(t, f.Initialize(metrics.NullFactory, logger))

t.Cleanup(func() {
require.NoError(t, s.factory.Close())
require.NoError(t, f.Close())
})
return f
}
Expand Down

0 comments on commit 89bd4c0

Please sign in to comment.