Skip to content

Commit

Permalink
Update elasticsearch.go
Browse files Browse the repository at this point in the history
  • Loading branch information
kruskall authored Nov 13, 2024
1 parent c07eeb0 commit 48cdf3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/agentcfg/elasticsearch.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ func (f *ElasticsearchFetcher) clearScroll(ctx context.Context, scrollID string)
f.logger.Warn("clearscroll request returned error: %s", resp.Status())
}

defer resp.Body.Close()
resp.Body.Close()
}

func (f *ElasticsearchFetcher) singlePageRefresh(ctx context.Context, scrollID string) (cacheResult, error) {
Expand Down

0 comments on commit 48cdf3a

Please sign in to comment.