provider services: use '--project-name=' notation

Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
This commit is contained in:
Guillaume Lours
2025-09-29 09:42:44 +02:00
parent 8978c1027d
commit 8bc8593fd0

View File

@@ -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 {