Skip to content

Commit

Permalink
fix(verify-permissions): revert code refactors
Browse files Browse the repository at this point in the history
  • Loading branch information
boranx committed Aug 13, 2020
1 parent c0b27d2 commit 58da1f5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,9 @@ go 1.13
require (
github.com/AlecAivazis/survey/v2 v2.1.0
github.com/aws/aws-sdk-go v1.29.17
github.com/beorn7/perks v1.0.1 // indirect
github.com/dgrijalva/jwt-go v3.2.0+incompatible
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
github.com/golang/mock v1.4.3
github.com/json-iterator/go v1.1.10 // indirect
github.com/konsorten/go-windows-terminal-sequences v1.0.3 // indirect
github.com/mattn/go-colorable v0.1.7 // indirect
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d // indirect
github.com/mitchellh/go-homedir v1.1.0
Expand Down
1 change: 1 addition & 0 deletions pkg/aws/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ func (b *ClientBuilder) Build() (Client, error) {
MaxRetries: aws.Int(25),
// Set MinThrottleDelay to 1 second
Retryer: client.DefaultRetryer{
NumMaxRetries: 5,
MinThrottleDelay: 1 * time.Second,
},
Logger: logger,
Expand Down

0 comments on commit 58da1f5

Please sign in to comment.