Skip to content

Commit

Permalink
formatter: mark KubernetesEndpoint templating option as deprecated
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastiaan van Stijn <[email protected]>
  • Loading branch information
thaJeztah committed Feb 24, 2022
1 parent 6ea2767 commit 467e650
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cli/command/formatter/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""
}

0 comments on commit 467e650

Please sign in to comment.