Skip to content

Commit

Permalink
Fix warning from $URL in kafka init script
Browse files Browse the repository at this point in the history
WARNING: The URL variable is not set. Defaulting to a blank string.
https://stackoverflow.com/a/40621373/10840
  • Loading branch information
millerdev committed Mar 29, 2022
1 parent f5224a5 commit f1930ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/hq-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ services:
KAFKA_ADVERTISED_PORT: 9092
CUSTOM_INIT_SCRIPT: |
URL="https://raw.githubusercontent.com/vishnubob/wait-for-it/c096cface5fbd9f2d6b037391dfecae6fde1362e/wait-for-it.sh"
if curl --max-time 10 $URL > wait.sh ; then
if curl --max-time 10 $$URL > wait.sh ; then
chmod +x ./wait.sh
./wait.sh -t 30 zookeeper:2181 || exit 1
else
Expand Down

0 comments on commit f1930ca

Please sign in to comment.