Skip to content

Commit

Permalink
Merge pull request docker#11108 from ndeloof/down-services
Browse files Browse the repository at this point in the history
enable profile when down is ran with explicit service names
  • Loading branch information
glours authored Oct 18, 2023
2 parents 5e1d3f2 + 16a7c20 commit af87f10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/compose/down.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func downCommand(p *ProjectOptions, dockerCli command.Cli, backend api.Service)
}

func runDown(ctx context.Context, dockerCli command.Cli, backend api.Service, opts downOptions, services []string) error {
project, name, err := opts.projectOrName(dockerCli)
project, name, err := opts.projectOrName(dockerCli, services...)
if err != nil {
return err
}
Expand Down

0 comments on commit af87f10

Please sign in to comment.