1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 15:59:41 +02:00

fix: normalize stack name only for libcompose (#4862)

* fix: normilize stack name only for libcompose

* fix
This commit is contained in:
Dmitry Salakhov 2021-03-15 08:08:31 +13:00 committed by GitHub
parent 6d5877ca1c
commit 4cbd231a5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 54 additions and 40 deletions

View file

@ -973,6 +973,7 @@ type (
// ComposeStackManager represents a service to manage Compose stacks
ComposeStackManager interface {
ComposeSyntaxMaxVersion() string
NormalizeStackName(name string) string
Up(stack *Stack, endpoint *Endpoint) error
Down(stack *Stack, endpoint *Endpoint) error
}