Moved increment to proper place
This commit is contained in:
parent
4812a8f22e
commit
e477491ffe
|
|
@ -54,7 +54,6 @@ get_vault_secrets() {
|
|||
if [ -n "${ZBX_VAULTKEYFILE:-}" ]; then
|
||||
cyberark_opts+=(--key "$ZBX_VAULTKEYFILE")
|
||||
fi
|
||||
echo "FULL_URL: $vault_url"
|
||||
while ! vaultdata="$(curl "${curl_opts[@]}" "${cyberark_opts[@]}" "$vault_url")"; do
|
||||
info "**** Vault is not available. Waiting ${wait_timeout} seconds... ****"
|
||||
sleep "$wait_timeout"
|
||||
|
|
|
|||
Loading…
Reference in a new issue