Skip to content

Commit

Permalink
Merge branch 'minio:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
vadmeste committed Apr 19, 2023
2 parents 9df4e4e + 0bf84b3 commit 3c46fa0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions bucket-cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,7 @@ func (c *Client) getBucketLocationRequest(ctx context.Context, bucketName string
}

if signerType.IsV2() {
// Get Bucket Location calls should be always path style
isVirtualHost := false
req = signer.SignV2(*req, accessKeyID, secretAccessKey, isVirtualHost)
req = signer.SignV2(*req, accessKeyID, secretAccessKey, isVirtualStyle)
return req, nil
}

Expand Down

0 comments on commit 3c46fa0

Please sign in to comment.