Skip to content

Commit fc11fa9

Browse files
committed
Fix ensure script by replacing wget with curl.
1 parent 39e5dd8 commit fc11fa9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docker/ensure

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@ fi
1212

1313
echo "===> Checking if Schema Registry is available ..."
1414

15+
max_timeout=32
1516
tries=10
1617
timeout=1
1718
while true; do
18-
if wget --spider -q "${ss_url}/subjects" 2>/dev/null; then
19+
if curl --head --silent --fail "${ss_url}/subjects" > /dev/null; then
1920
echo "Schema registry available."
2021
break
2122
fi

0 commit comments

Comments
 (0)