mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
Fixed writing config attribute 'max_retries' for existing client configs for aws auth method. (#4980)
This commit is contained in:
committed by
Jeff Mitchell
parent
255b23156f
commit
2b34bdaedc
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user