mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 07:49:41 +02:00
fix(stack): support removing duplicated stacks EE-1962 (#6068)
* fix/EE-1962/cannot-same-stack-name handle multiple names duplicate case Co-authored-by: Eric Sun <ericsun@SG1.local>
This commit is contained in:
parent
5f2e3452e4
commit
cea634a7aa
3 changed files with 103 additions and 3 deletions
|
@ -1379,6 +1379,7 @@ type (
|
|||
StackService interface {
|
||||
Stack(ID StackID) (*Stack, error)
|
||||
StackByName(name string) (*Stack, error)
|
||||
StacksByName(name string) ([]Stack, error)
|
||||
Stacks() ([]Stack, error)
|
||||
CreateStack(stack *Stack) error
|
||||
UpdateStack(ID StackID, stack *Stack) error
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue