From 12699b965b8701cc99f7d73c31e652057a534395 Mon Sep 17 00:00:00 2001 From: bforcier Date: Thu, 21 May 2020 11:26:05 -0400 Subject: [PATCH 1/3] update aws-sdk-go to latest (v1.31.2) --- vendor/github.com/aws/aws-sdk-go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/github.com/aws/aws-sdk-go b/vendor/github.com/aws/aws-sdk-go index 7e7bb328..2935fddd 160000 --- a/vendor/github.com/aws/aws-sdk-go +++ b/vendor/github.com/aws/aws-sdk-go @@ -1 +1 @@ -Subproject commit 7e7bb328b06e5d15c0f0b7c935f848a57e289ad8 +Subproject commit 2935fddd680fe921abfc1eb7d83241b3a28c8fe3 From 5c9983c41b853f8b776716e8f42321e7f3a55269 Mon Sep 17 00:00:00 2001 From: Brady Forcier Date: Thu, 21 May 2020 16:54:18 +0000 Subject: [PATCH 2/3] add go-jmespath dependency --- .gitmodules | 3 +++ vendor/github.com/jmespath/go-jmespath | 1 + 2 files changed, 4 insertions(+) create mode 160000 vendor/github.com/jmespath/go-jmespath diff --git a/.gitmodules b/.gitmodules index e7526dbb..6d6deb3b 100644 --- a/.gitmodules +++ b/.gitmodules @@ -115,3 +115,6 @@ [submodule "vendor/github.com/kr/text"] path = vendor/github.com/kr/text url = https://github.com/kr/text.git +[submodule "vendor/github.com/jmespath/go-jmespath"] + path = vendor/github.com/jmespath/go-jmespath + url = http://github.com/jmespath/go-jmespath diff --git a/vendor/github.com/jmespath/go-jmespath b/vendor/github.com/jmespath/go-jmespath new file mode 160000 index 00000000..2437e841 --- /dev/null +++ b/vendor/github.com/jmespath/go-jmespath @@ -0,0 +1 @@ +Subproject commit 2437e8417af5203cd4f1f97f99fc289bdeea1360 From c9139b0944cb73dd4cf7564c7b62f88c76d51cdc Mon Sep 17 00:00:00 2001 From: Brady Forcier Date: Thu, 21 May 2020 17:40:11 +0000 Subject: [PATCH 3/3] add a retryer and set max --- api/common/conf_s3.go | 1 + 1 file changed, 1 insertion(+) diff --git a/api/common/conf_s3.go b/api/common/conf_s3.go index 2401119f..f9d1ad47 100644 --- a/api/common/conf_s3.go +++ b/api/common/conf_s3.go @@ -73,6 +73,7 @@ func (c *S3Config) ToAwsConfig(flags *FlagStorage) (*aws.Config, error) { awsConfig := (&aws.Config{ Region: &c.Region, Logger: GetLogger("s3"), + Retryer: client.DefaultRetryer{NumMaxRetries: 20,}, }).WithHTTPClient(&http.Client{ Transport: &defaultHTTPTransport, Timeout: flags.HTTPTimeout,