Skip to content

Commit

Permalink
new version
Browse files Browse the repository at this point in the history
  • Loading branch information
akshayflipkart committed Apr 26, 2020
1 parent 1529bfb commit 28fab56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion s3/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func NewS3Client(opts S3ClientOpts) (S3Client, error) {
minioClient, err = minio.NewWithRegion(
s3cli.Endpoint, s3cli.AccessKey, s3cli.SecretKey, s3cli.Secure, s3cli.Region)
} else {
minioClient, err = minio.New(s3cli.Endpoint, s3cli.AccessKey, s3cli.SecretKey, s3cli.Secure)
minioClient, err = minio.NewV2(s3cli.Endpoint, s3cli.AccessKey, s3cli.SecretKey, s3cli.Secure)
}
} else if s3cli.UseSDKCreds == true {
log.Infof("Creating minio client using GetAWSCredentials credentials")
Expand Down

0 comments on commit 28fab56

Please sign in to comment.