From d912d0cc6000e4e9c96b9bd901514c0c2dbe7afc Mon Sep 17 00:00:00 2001 From: Gyanendra Mishra Date: Tue, 19 Mar 2024 00:50:21 +0900 Subject: [PATCH] fix logic; --- .../user_services_functions/start_user_services.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/container-engine-lib/lib/backend_impls/docker/docker_kurtosis_backend/user_services_functions/start_user_services.go b/container-engine-lib/lib/backend_impls/docker/docker_kurtosis_backend/user_services_functions/start_user_services.go index 30825d26e3..6382a97406 100644 --- a/container-engine-lib/lib/backend_impls/docker/docker_kurtosis_backend/user_services_functions/start_user_services.go +++ b/container-engine-lib/lib/backend_impls/docker/docker_kurtosis_backend/user_services_functions/start_user_services.go @@ -798,13 +798,13 @@ func handleFilesToBeMovedForDockerCompose(ctx context.Context, dockerManager *do if len(cmdArgs) > 0 { if len(entrypointArgs) > 0 { - cmdArgs = []string{"-c", concatenatedFilesToBeMovedAsStr + " && " + entryPointArgsAsStr + " && " + cmdArgsAsStr} + cmdArgs = []string{"-c", concatenatedFilesToBeMovedAsStr + " && " + entryPointArgsAsStr + " " + cmdArgsAsStr} } else { cmdArgs = []string{"-c", concatenatedFilesToBeMovedAsStr + " && " + cmdArgsAsStr} } } else { if len(entrypointArgs) > 0 { - cmdArgs = []string{"-c", concatenatedFilesToBeMovedAsStr + " && " + entryPointArgsAsStr + " && " + cmdArgsAsStr} + cmdArgs = []string{"-c", concatenatedFilesToBeMovedAsStr + " && " + entryPointArgsAsStr} } else { // no entrypoint and no command; this shouldn't really happen cmdArgs = []string{"-c", concatenatedFilesToBeMovedAsStr}