improve logging

This commit is contained in:
PMExtra
2022-12-28 02:47:49 +08:00
parent ed63eb6833
commit 1ccfa96c2e
2 changed files with 10 additions and 10 deletions

View File

@ -79,9 +79,9 @@ vault_deploy() {
if [ -n "$VAULT_RENEW_TOKEN" ]; then
URL="$VAULT_ADDR/v1/auth/token/renew-self"
_info "Renew the token to default TTL"
_info "Renew the Vault token to default TTL"
if ! _post "" "$URL" >/dev/null; then
_err "Failed to renew the token"
_err "Failed to renew the Vault token"
return 1
fi
fi