Skip to content

Commit af87f10

Browse files
authored
Merge pull request docker#11108 from ndeloof/down-services
enable profile when down is ran with explicit service names
2 parents 5e1d3f2 + 16a7c20 commit af87f10

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)