enable profile when down is ran with explicit service names

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
Nicolas De Loof 2023-10-18 12:19:45 +02:00
parent 9b4d577c65
commit 16a7c20960
No known key found for this signature in database
GPG Key ID: 9858809D6F8F6E7E
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 { 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 { if err != nil {
return err return err
} }