mirror of https://github.com/docker/compose.git
Merge pull request #11108 from ndeloof/down-services
enable profile when down is ran with explicit service names
This commit is contained in:
commit
af87f10650
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue