Merge pull request #11108 from ndeloof/down-services

enable profile when down is ran with explicit service names
This commit is contained in:
Guillaume Lours
2023-10-18 13:49:11 +02:00
committed by GitHub

View File

@@ -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
}