From 69bf2325df3738f381e7a0a8f1ca26b1bfd84db7 Mon Sep 17 00:00:00 2001 From: niger Date: Thu, 11 Apr 2024 10:53:44 -0400 Subject: [PATCH] remove newline --- api-get-object-file.go | 1 - 1 file changed, 1 deletion(-) diff --git a/api-get-object-file.go b/api-get-object-file.go index 5328f4f01..567a42e45 100644 --- a/api-get-object-file.go +++ b/api-get-object-file.go @@ -71,7 +71,6 @@ func (c *Client) FGetObject(ctx context.Context, bucketName, objectName, filePat // Write to a temporary file "fileName.part.minio" before saving. filePartPath := filePath + sum256Hex([]byte(objectStat.ETag)) + ".part.minio" - // If exists, open in append mode. If not create it as a part file. filePart, err := os.OpenFile(filePartPath, os.O_CREATE|os.O_APPEND|os.O_WRONLY, 0o600) if err != nil {