From 1e5129f0270067fe07fdfe17a6316437e0e9b64d Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Tue, 14 May 2019 13:46:12 +0100 Subject: [PATCH] =?UTF-8?q?rename=20package=20import=20kubcontext=20?= =?UTF-8?q?=E2=86=92=20kubecontext?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The (small number) of other places which name this import use `kubecontext`, make it consistent. Signed-off-by: Ian Campbell --- cli/command/cli.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/command/cli.go b/cli/command/cli.go index 0f369f901b..161163e00b 100644 --- a/cli/command/cli.go +++ b/cli/command/cli.go @@ -14,7 +14,7 @@ import ( "github.com/docker/cli/cli/config/configfile" dcontext "github.com/docker/cli/cli/context" "github.com/docker/cli/cli/context/docker" - kubcontext "github.com/docker/cli/cli/context/kubernetes" + kubecontext "github.com/docker/cli/cli/context/kubernetes" "github.com/docker/cli/cli/context/store" "github.com/docker/cli/cli/debug" cliflags "github.com/docker/cli/cli/flags" @@ -530,6 +530,6 @@ func defaultContextStoreConfig() store.Config { return store.NewConfig( func() interface{} { return &DockerContext{} }, store.EndpointTypeGetter(docker.DockerEndpoint, func() interface{} { return &docker.EndpointMeta{} }), - store.EndpointTypeGetter(kubcontext.KubernetesEndpoint, func() interface{} { return &kubcontext.EndpointMeta{} }), + store.EndpointTypeGetter(kubecontext.KubernetesEndpoint, func() interface{} { return &kubecontext.EndpointMeta{} }), ) }