fix(compose): use docker-compose plugin directly [EE-3631] (#7201)

* use simplifed method of calling compose directly with new compose wrapper

* download compose binary to docker-compose

* update to newer wrapper that fixes -H issue

* update to released
This commit is contained in:
Matt Hook
2022-07-08 16:02:37 +12:00
committed by GitHub
parent d26e1b6983
commit f9b28aa0a1
4 changed files with 8 additions and 10 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ func (manager *ComposeStackManager) Down(ctx context.Context, stack *portainer.S
}
filePaths := stackutils.GetStackFilePaths(stack)
err = manager.deployer.Remove(ctx, stack.ProjectPath, url, stack.Name, filePaths)
err = manager.deployer.Remove(ctx, stack.ProjectPath, url, stack.Name, filePaths, "")
return errors.Wrap(err, "failed to remove a stack")
}