mirror of
https://github.com/docker/cli.git
synced 2026-09-26 09:20:58 -04:00
Move ConvertVolumes to composetransform package.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
@@ -7,11 +7,12 @@ import (
|
||||
"github.com/docker/docker/api/types/filters"
|
||||
"github.com/docker/docker/api/types/swarm"
|
||||
"github.com/docker/docker/client"
|
||||
"github.com/docker/docker/pkg/composetransform"
|
||||
)
|
||||
|
||||
func getStackFilter(namespace string) filters.Args {
|
||||
filter := filters.NewArgs()
|
||||
filter.Add("label", labelNamespace+"="+namespace)
|
||||
filter.Add("label", composetransform.LabelNamespace+"="+namespace)
|
||||
return filter
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user