Skip to content

Commit

Permalink
grafana: [skip-ci] Fix syntax error that was causing entrypoint failure
Browse files Browse the repository at this point in the history
This was just a bash scripting syntax error which prevented the demo
script from working because the "docker compose up --wait" could not
succeed.

Change-Id: I7912a3373f44626d68ce8a9a95a9b8f2b91c3576
  • Loading branch information
ronh-rs committed Sep 24, 2024
1 parent 63cff2c commit c093384
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/docker/grafana/config-then-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RE='(.+):\/\/([^:@]*)(:([^@]*))?@([^:\/]+)(:[0-9]+)?(\/(.+))?'
# Only parse if UPSTREAM_DB_URL is not empty.
# Otherwise, these parameters must be passed down from the environment.
# TODO: Remove UPSTREAM_DB_URL completely when new docker images are in ECR
if [[! -z "${UPSTREAM_DB_URL}" ]; then
if [[ -n "${UPSTREAM_DB_URL}" ]]; then
[[ $UPSTREAM_DB_URL =~ $RE ]]
RS_DB_TYPE=${BASH_REMATCH[1]}
RS_USER=${BASH_REMATCH[2]}
Expand Down

0 comments on commit c093384

Please sign in to comment.