From 467e650d4c75f078b4ac442789424be094e5d0cd Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Thu, 24 Feb 2022 13:36:01 +0100 Subject: [PATCH] formatter: mark KubernetesEndpoint templating option as deprecated Signed-off-by: Sebastiaan van Stijn --- cli/command/formatter/context.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cli/command/formatter/context.go b/cli/command/formatter/context.go index fd8409108c..fd0e67d6f4 100644 --- a/cli/command/formatter/context.go +++ b/cli/command/formatter/context.go @@ -75,6 +75,9 @@ func (c *clientContextContext) DockerEndpoint() string { return c.c.DockerEndpoint } +// 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 "" }