From d1a0145e2f80b4ca3efd6b3a06cd4a166813a703 Mon Sep 17 00:00:00 2001 From: Moritz Date: Tue, 7 Feb 2023 18:03:00 +0100 Subject: [PATCH] fix dockerClient renaming --- pkg/upstream/stack/stack.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/upstream/stack/stack.go b/pkg/upstream/stack/stack.go index 4355462b..27d2ee6c 100644 --- a/pkg/upstream/stack/stack.go +++ b/pkg/upstream/stack/stack.go @@ -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()})