forked from coop-cloud/abra
fix dockerClient renaming
This commit is contained in:
parent
ffb7cf80c1
commit
3039a837c0
|
@ -488,7 +488,7 @@ If a service is failing to even start, try smoke out the error with:
|
|||
|
||||
// FIXME: Copypasta from https://github.com/docker/cli/blob/master/cli/command/stack/swarm/list.go because I could't import "github.com/docker/cli/cli/command/stack/swarm"
|
||||
// GetStacks lists the swarm stacks.
|
||||
func GetStacks(cl *dockerclient.Client) ([]*formatter.Stack, error) {
|
||||
func GetStacks(cl *dockerClient.Client) ([]*formatter.Stack, error) {
|
||||
services, err := cl.ServiceList(
|
||||
context.Background(),
|
||||
types.ServiceListOptions{Filters: getAllStacksFilter()})
|
||||
|
|
Loading…
Reference in New Issue