From 954fb037111cb7360952468f5147d2a0d49d5838 Mon Sep 17 00:00:00 2001 From: kruskall <99559985+kruskall@users.noreply.github.com> Date: Wed, 13 Nov 2024 21:43:58 +0100 Subject: [PATCH] Update metadata_fetcher.go --- internal/sourcemap/metadata_fetcher.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/sourcemap/metadata_fetcher.go b/internal/sourcemap/metadata_fetcher.go index 4272f6bdf13..afb6d561406 100644 --- a/internal/sourcemap/metadata_fetcher.go +++ b/internal/sourcemap/metadata_fetcher.go @@ -199,7 +199,7 @@ func (s *MetadataESFetcher) clearScroll(ctx context.Context, scrollID string) { s.logger.Warn("clearscroll request returned error: %s", resp.Status()) } - defer resp.Body.Close() + resp.Body.Close() } func (s *MetadataESFetcher) update(ctx context.Context, sourcemaps map[identifier]string) {