From c6a4fcee360ea88617f91e641eeb19faca6476c8 Mon Sep 17 00:00:00 2001 From: Adrian Richter Date: Tue, 5 Nov 2024 15:02:45 +0100 Subject: [PATCH] Don't wait for DS if ANONYMOUS_ONLY=1 --- entrypoint.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 30ef30c2bd..cc4d80e879 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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 "$@"