From 82ec34e00b145c8bde9fe74c10fa4ee2c49ceecc Mon Sep 17 00:00:00 2001 From: burnettk Date: Wed, 29 Mar 2023 14:18:37 -0400 Subject: [PATCH] i am terrible --- spiffworkflow-backend/bin/recreate_db | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spiffworkflow-backend/bin/recreate_db b/spiffworkflow-backend/bin/recreate_db index 505f35e0d..14b23cf8f 100755 --- a/spiffworkflow-backend/bin/recreate_db +++ b/spiffworkflow-backend/bin/recreate_db @@ -44,8 +44,8 @@ if [[ "${1:-}" == "clean" ]]; then # TODO: check to see if the db already exists and we can connect to it. also actually clean it up. # start postgres in background with one db if [[ "${SPIFFWORKFLOW_BACKEND_DATABASE_TYPE:-}" == "postgres" ]]; then - container_name = "postgres-spiff" - container_regex = "^postgres-spiff$" + container_name="postgres-spiff" + container_regex="^postgres-spiff$" if [[ -n "$(docker ps -qa -f name=$container_regex)" ]]; then echo ":: Found postgres container - $container_name" if [[ -n "$(docker ps -q -f name=$container_regex)" ]]; then