mirror of https://github.com/grafana/loki
chore(indexshipper): Close temp file after download (#19398)
When downloading a potentially compressed file, the file is first downloaded into a temp file and this temp file is then re-opened and processed. The re-opened *File is Close()d as expected but the initial temp *File is not. This PR adds the missing Close().pull/19423/head^2
parent
af3e999496
commit
815072fe27
Loading…
Reference in new issue