From 4be1202c8208edb1fa4db81ce3263118b9e71893 Mon Sep 17 00:00:00 2001 From: chrislu Date: Sun, 16 Nov 2025 16:00:48 -0800 Subject: [PATCH] fmt --- weed/s3api/s3api_object_handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/s3api/s3api_object_handlers.go b/weed/s3api/s3api_object_handlers.go index 49c43b429..f4d7f3438 100644 --- a/weed/s3api/s3api_object_handlers.go +++ b/weed/s3api/s3api_object_handlers.go @@ -2546,7 +2546,7 @@ func (s3a *S3ApiServer) createEncryptedChunkReader(chunk *filer_pb.FileChunk) (i // Create HTTP request with context for timeout control ctx, cancel := context.WithTimeout(context.Background(), 5*time.Minute) defer cancel() - + req, err := http.NewRequestWithContext(ctx, "GET", srcUrl, nil) if err != nil { return nil, fmt.Errorf("create HTTP request for chunk: %v", err)