Skip to content

Commit

Permalink
remove newline
Browse files Browse the repository at this point in the history
  • Loading branch information
niger-prequel committed Apr 11, 2024
1 parent 01b1c53 commit 69bf232
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion api-get-object-file.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 69bf232

Please sign in to comment.