From 3405eb1f4100d2a4109930671572b87a03c1c518 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Fri, 31 Mar 2023 02:30:36 +0200 Subject: [PATCH] cli/command/formatter: remove deprecated KubernetesEndpoint This was deprecated in 467e650d4c75f078b4ac442789424be094e5d0cd, which is part of docker 23.0, so users should have had a chance to migrate. Signed-off-by: Sebastiaan van Stijn --- cli/command/formatter/context.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cli/command/formatter/context.go b/cli/command/formatter/context.go index 71a53fd8ff..985a6ff32e 100644 --- a/cli/command/formatter/context.go +++ b/cli/command/formatter/context.go @@ -84,10 +84,3 @@ func (c *clientContextContext) Error() string { // TODO(thaJeztah) add "--no-trunc" option to context ls and set default to 30 cols to match "docker service ps" return Ellipsis(c.c.Error, maxErrLength) } - -// KubernetesEndpoint returns the kubernetes endpoint. -// -// Deprecated: support for kubernetes endpoints in contexts has been removed, and this formatting option will always be empty. -func (c *clientContextContext) KubernetesEndpoint() string { - return "" -}