Skip to content

Commit 489476f

Browse files
committed
fix
1 parent f9d5b59 commit 489476f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • components/clp-package-utils/clp_package_utils

components/clp-package-utils/clp_package_utils/general.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -648,12 +648,12 @@ def generate_common_environment_variables(
648648
env_vars.append(f"CLP_HOME={CONTAINER_CLP_HOME}")
649649

650650
if include_db_credentials:
651-
env_vars.append(f"CLP_DB_HOST={container_clp_config.database.host}")
652-
env_vars.append(f"CLP_DB_PORT={container_clp_config.database.port}")
651+
env_vars.append(f"CLP_DB_USER={container_clp_config.database.username}")
652+
env_vars.append(f"CLP_DB_PASS={container_clp_config.database.password}")
653653

654654
if include_queue_credentials:
655-
env_vars.append(f"CLP_QUEUE_HOST={container_clp_config.queue.host}")
656-
env_vars.append(f"CLP_QUEUE_PORT={container_clp_config.queue.port}")
655+
env_vars.append(f"CLP_QUEUE_USER={container_clp_config.queue.username}")
656+
env_vars.append(f"CLP_QUEUE_PASS={container_clp_config.queue.password}")
657657

658658
if include_redis_credentials:
659659
env_vars.append(f"CLP_REDIS_PASS={container_clp_config.redis.password}")

0 commit comments

Comments
 (0)