From 31cb3beb7b822db484795228d3f672a03e8b2894 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Tue, 28 Feb 2023 16:34:21 +0000 Subject: [PATCH] =?UTF-8?q?s3:=20attempt=20to=20fix=20=E2=80=93s3-profile?= =?UTF-8?q?=20failing=20when=20explicit=20s3=20endpoint=20is=20present=20F?= =?UTF-8?q?IXME=20DO=20NOT=20MERGE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This effectively reverts a fix so shouldn't be merged directly --- backend/s3/s3.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/s3/s3.go b/backend/s3/s3.go index 1d9c281d6..e4bcf84b7 100644 --- a/backend/s3/s3.go +++ b/backend/s3/s3.go @@ -2657,7 +2657,7 @@ func s3Connection(ctx context.Context, opt *Options, client *http.Client) (*s3.S } // The session constructor (aws/session/mergeConfigSrcs) will only use the user's preferred credential source // (from the shared config file) if the passed-in Options.Config.Credentials is nil. - awsSessionOpts.Config.Credentials = nil + // awsSessionOpts.Config.Credentials = nil } ses, err := session.NewSessionWithOptions(awsSessionOpts) if err != nil {