Skip to content

Commit

Permalink
Fixed writing config attribute 'max_retries' for existing client conf…
Browse files Browse the repository at this point in the history
…igs for aws auth method. (#4980)
  • Loading branch information
andrejvanderzee authored and jefferai committed Jul 24, 2018
1 parent 255b231 commit 2b34bda
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions builtin/credential/aws/path_config_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ func (b *backend) pathConfigClientCreateUpdate(ctx context.Context, req *logical
maxRetriesInt, ok := data.GetOk("max_retries")
if ok {
configEntry.MaxRetries = maxRetriesInt.(int)
changedOtherConfig = true
} else if req.Operation == logical.CreateOperation {
configEntry.MaxRetries = data.Get("max_retries").(int)
}
Expand Down

0 comments on commit 2b34bda

Please sign in to comment.