Fixed weed mount reads with jwt.signing.read.key (#7061)

This commit is contained in:
Maxim Kostyukov
2025-08-01 01:06:29 +03:00
committed by GitHub
parent f5c53b1bd8
commit 9fadd9def8
4 changed files with 30 additions and 5 deletions

View File

@@ -178,7 +178,7 @@ func (s *SingleChunkCacher) startCaching() {
s.data = mem.Allocate(s.chunkSize)
_, s.err = util_http.RetriedFetchChunkData(context.Background(), s.data, urlStrings, s.cipherKey, s.isGzipped, true, 0)
_, s.err = util_http.RetriedFetchChunkData(context.Background(), s.data, urlStrings, s.cipherKey, s.isGzipped, true, 0, s.chunkFileId)
if s.err != nil {
mem.Free(s.data)
s.data = nil