Skip to content

Commit 16a7c20

Browse files
committed
enable profile when down is ran with explicit service names
Signed-off-by: Nicolas De Loof <[email protected]>
1 parent 9b4d577 commit 16a7c20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/compose/down.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func downCommand(p *ProjectOptions, dockerCli command.Cli, backend api.Service)
7878
}
7979

8080
func runDown(ctx context.Context, dockerCli command.Cli, backend api.Service, opts downOptions, services []string) error {
81-
project, name, err := opts.projectOrName(dockerCli)
81+
project, name, err := opts.projectOrName(dockerCli, services...)
8282
if err != nil {
8383
return err
8484
}

0 commit comments

Comments
 (0)