From 7abc65bc06fad5839053f123aca29db20556cdfb Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Sat, 11 Oct 2025 00:40:22 +0200 Subject: [PATCH] cli/command: remove deprecated ResolveDefaultContext Signed-off-by: Sebastiaan van Stijn --- cli/command/defaultcontextstore.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cli/command/defaultcontextstore.go b/cli/command/defaultcontextstore.go index 9a350f50d..e94f009a5 100644 --- a/cli/command/defaultcontextstore.go +++ b/cli/command/defaultcontextstore.go @@ -53,13 +53,6 @@ type EndpointDefaultResolver interface { ResolveDefault() (any, *store.EndpointTLSData, error) } -// ResolveDefaultContext creates a Metadata for the current CLI invocation parameters -// -// Deprecated: this function is exported for testing and meant for internal use. It will be removed in the next release. -func ResolveDefaultContext(opts *cliflags.ClientOptions, config store.Config) (*DefaultContext, error) { - return resolveDefaultContext(opts, config) -} - // resolveDefaultContext creates a Metadata for the current CLI invocation parameters func resolveDefaultContext(opts *cliflags.ClientOptions, config store.Config) (*DefaultContext, error) { contextTLSData := store.ContextTLSData{