We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed9b3f2 commit d7f87fcCopy full SHA for d7f87fc
postgres-appliance/scripts/patroni_wait.sh
@@ -85,6 +85,7 @@ if [ $# -gt 0 ]; then
85
options="$options --cacert $SSL_RESTAPI_CA_FILE"
86
fi
87
88
+ # shellcheck disable=SC2086
89
while [ "$(curl -so /dev/null -w '%{http_code}' $options "$protocol://localhost:$PORT/$ROLE")" != "200" ]; do
90
[ -n "$TIMEOUT" ] && [ "$CUTOFF" -le "$(date +%s)" ] && exit 2
91
sleep "$INTERVAL"
0 commit comments