fix dockerClient renaming

This commit is contained in:
Moritz 2023-02-07 18:03:00 +01:00
parent ffb7cf80c1
commit 3039a837c0
1 changed files with 1 additions and 1 deletions

View File

@ -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()})