mirror of
https://github.com/docker/compose.git
synced 2026-10-12 02:13:08 +00:00
provider services: use '--project-name=' notation
Signed-off-by: Guillaume Lours <[email protected]>
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