Skip to content

Commit b42bd7d

Browse files
authored
disable mandatory V2 Google signature (#1870)
1 parent bd8cf2b commit b42bd7d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

api.go

-4
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,6 @@ func New(endpoint string, opts *Options) (*Client, error) {
158158
if err != nil {
159159
return nil, err
160160
}
161-
// Google cloud storage should be set to signature V2, force it if not.
162-
if s3utils.IsGoogleEndpoint(*clnt.endpointURL) {
163-
clnt.overrideSignerType = credentials.SignatureV2
164-
}
165161
// If Amazon S3 set to signature v4.
166162
if s3utils.IsAmazonEndpoint(*clnt.endpointURL) {
167163
clnt.overrideSignerType = credentials.SignatureV4

0 commit comments

Comments
 (0)