mirror of
https://github.com/docker/compose.git
synced 2026-07-11 02:34:25 +00:00
provider.options can be an array
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
91a0aa0265
commit
22f8a7009f
3 changed files with 6 additions and 4 deletions
|
|
@ -161,7 +161,9 @@ func (s *composeService) setupPluginCommand(ctx context.Context, project *types.
|
|||
|
||||
args := []string{"compose", "--project-name", project.Name, command}
|
||||
for k, v := range provider.Options {
|
||||
args = append(args, fmt.Sprintf("--%s=%s", k, v))
|
||||
for _, value := range v {
|
||||
args = append(args, fmt.Sprintf("--%s=%s", k, value))
|
||||
}
|
||||
}
|
||||
args = append(args, service.Name)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue