Skip to content

Commit ebe7fcf

Browse files
authored
Merge pull request #4568 from opsmill/dga-20241008-cleanup-tasks
Prevent `start_services` from defining the profile twice in invoke tasks
2 parents 890a436 + 1da347e commit ebe7fcf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tasks/container_ops.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,7 @@ def start_services(context: Context, database: str, namespace: Namespace, wait:
9595
compose_files_cmd = build_compose_files_cmd(database=database, namespace=namespace)
9696
compose_cmd = get_compose_cmd(namespace=namespace)
9797
should_wait = " --wait" if wait else ""
98-
profile = "--profile dev " if namespace == Namespace.DEV else ""
99-
command = f"{get_env_vars(context, namespace=namespace)} {compose_cmd} {profile}{compose_files_cmd} -p {BUILD_NAME} up -d{should_wait}"
98+
command = f"{get_env_vars(context, namespace=namespace)} {compose_cmd} {compose_files_cmd} -p {BUILD_NAME} up -d{should_wait}"
10099
execute_command(context=context, command=command)
101100

102101

0 commit comments

Comments
 (0)