Moved increment to proper place

This commit is contained in:
Alexey Pustovalov 2026-06-10 16:18:16 +09:00
parent 4812a8f22e
commit e477491ffe

View file

@ -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"