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
commit af87f10650
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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
}