Skip to content

Commit

Permalink
Don't wait for DS if ANONYMOUS_ONLY=1 (#2713)
Browse files Browse the repository at this point in the history
  • Loading branch information
peb-adr authored Nov 8, 2024
1 parent f2942ff commit 24d913d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#!/bin/bash

source scripts/export_datastore_variables.sh
scripts/wait.sh $DATASTORE_WRITER_HOST $DATASTORE_WRITER_PORT

if [ ! $ANONYMOUS_ONLY ]; then
scripts/wait.sh $DATASTORE_WRITER_HOST $DATASTORE_WRITER_PORT
fi

exec "$@"

0 comments on commit 24d913d

Please sign in to comment.