You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
until data=$(run_psql_local '\c myapp \\\ SELECT * from myApp;' "postgres:$(get_psql_user_pass self-healing-pguser-postgres)@$(get_psql_pod_host ${pod})"); do
17
+
sleep 1
18
+
echo -n .
19
+
((retry++))
20
+
if [ $retry -ge 30 ]; then
21
+
echo
22
+
echo "Max retry count $retry reached on pod ${pod}. Something went wrong."
until data=$(run_psql_local '\c myapp \\\ SELECT * from myApp;' "postgres:$(get_psql_user_pass self-healing-pguser-postgres)@$(get_psql_pod_host ${pod})"); do
17
+
sleep 1
18
+
echo -n .
19
+
((retry++))
20
+
if [ $retry -ge 30 ]; then
21
+
echo
22
+
echo "Max retry count $retry reached on pod ${pod}. Something went wrong."
until data=$(run_psql_local '\c myapp \\\ SELECT * from myApp;' "postgres:$(get_psql_user_pass self-healing-pguser-postgres)@$(get_psql_pod_host ${pod})"); do
17
+
sleep 1
18
+
echo -n .
19
+
((retry++))
20
+
if [ $retry -ge 30 ]; then
21
+
echo
22
+
echo "Max retry count $retry reached on pod ${pod}. Something went wrong."
until data=$(run_psql_local '\c myapp \\\ SELECT * from myApp;' "postgres:$(get_psql_user_pass self-healing-pguser-postgres)@$(get_psql_pod_host ${pod})"); do
17
+
sleep 1
18
+
echo -n .
19
+
((retry++))
20
+
if [ $retry -ge 30 ]; then
21
+
echo
22
+
echo "Max retry count $retry reached on pod ${pod}. Something went wrong."
0 commit comments