From 34020d2939b98553d9e79951c69a1b2b93b1c6a9 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sun, 12 Jan 2025 22:55:27 +0100 Subject: [PATCH] chore: replace - with _ for postgres Signed-off-by: kjuulh --- crates/cuddle-clusters/src/catalog/postgres_database.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/cuddle-clusters/src/catalog/postgres_database.rs b/crates/cuddle-clusters/src/catalog/postgres_database.rs index 2cfc6c6..0d22ea5 100644 --- a/crates/cuddle-clusters/src/catalog/postgres_database.rs +++ b/crates/cuddle-clusters/src/catalog/postgres_database.rs @@ -102,8 +102,8 @@ data: DATABASE_TYPE: postgresql DATABASE_HOST: {{ environment }}.postgresql.kjuulh.app DATABASE_PORT: {{ port }} - DATABASE_USER: {{ vars.cuddle_vars.service | replace("_", "-") }} - DATABASE_DB: {{ vars.cuddle_vars.service | replace("_", "-") }} + DATABASE_USER: {{ vars.cuddle_vars.service | replace("-", "_") }} + DATABASE_DB: {{ vars.cuddle_vars.service | replace("-", "_") }} "# .into(),