feat(stacks): support standalone stacks on ARM (#5310)

This commit is contained in:
Chaim Lev-Ari
2021-09-06 10:58:26 +03:00
committed by GitHub
parent 582d370172
commit 3453735c8b
17 changed files with 181 additions and 308 deletions

View File

@@ -1,6 +1,7 @@
package stacks
import (
"context"
"errors"
"net/http"
"strconv"
@@ -174,5 +175,5 @@ func (handler *Handler) deleteStack(stack *portainer.Stack, endpoint *portainer.
return handler.SwarmStackManager.Remove(stack, endpoint)
}
return handler.ComposeStackManager.Down(stack, endpoint)
return handler.ComposeStackManager.Down(context.TODO(), stack, endpoint)
}