mirror of
https://github.com/docker/compose.git
synced 2026-02-09 01:59:22 +08:00
provider services: use '--project-name=' notation
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
This commit is contained in:
@@ -186,7 +186,7 @@ func (s *composeService) setupPluginCommand(ctx context.Context, project *types.
|
||||
return nil, err
|
||||
}
|
||||
|
||||
args := []string{"compose", "--project-name", project.Name, command}
|
||||
args := []string{"compose", fmt.Sprintf("--project-name=%s", project.Name), command}
|
||||
for k, v := range provider.Options {
|
||||
for _, value := range v {
|
||||
if _, ok := currentCommandMetadata.GetParameter(k); commandMetadataIsEmpty || ok {
|
||||
|
||||
Reference in New Issue
Block a user