From 2b34bdaedcc3a9e4d7f5d92532f6549006d73fa3 Mon Sep 17 00:00:00 2001 From: andrejvanderzee Date: Tue, 24 Jul 2018 16:09:44 +0200 Subject: [PATCH] Fixed writing config attribute 'max_retries' for existing client configs for aws auth method. (#4980) --- builtin/credential/aws/path_config_client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/builtin/credential/aws/path_config_client.go b/builtin/credential/aws/path_config_client.go index 500a6c290f44..05315ee67f97 100644 --- a/builtin/credential/aws/path_config_client.go +++ b/builtin/credential/aws/path_config_client.go @@ -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) }