mirror of https://github.com/docker/cli.git
rename package import kubcontext → kubecontext
The (small number) of other places which name this import use `kubecontext`, make it consistent. Signed-off-by: Ian Campbell <ijc@docker.com>
This commit is contained in:
parent
873afb9c94
commit
1e5129f027
|
@ -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{} }),
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue