This repository was archived by the owner on Nov 27, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ const (
57
57
LocalContextType = "local"
58
58
// KubeContextType is the endpoint key in the context endpoints for a new
59
59
// kube backend
60
- KubeContextType = "kube "
60
+ KubeContextType = "kubernetes "
61
61
)
62
62
63
63
const (
Original file line number Diff line number Diff line change @@ -33,16 +33,16 @@ import (
33
33
func init () {
34
34
extraCommands = append (extraCommands , createKubeCommand )
35
35
extraHelp = append (extraHelp , `
36
- Create a Kube context:
37
- $ docker context create kube CONTEXT [flags]
38
- (see docker context create kube --help)
36
+ Create a Kubernetes context:
37
+ $ docker context create kubernetes CONTEXT [flags]
38
+ (see docker context create kubernetes --help)
39
39
` )
40
40
}
41
41
42
42
func createKubeCommand () * cobra.Command {
43
43
var opts kube.ContextParams
44
44
cmd := & cobra.Command {
45
- Use : "kube CONTEXT [flags]" ,
45
+ Use : "kubernetes CONTEXT [flags]" ,
46
46
Short : "Create context for a Kubernetes Cluster" ,
47
47
Args : cobra .ExactArgs (1 ),
48
48
RunE : func (cmd * cobra.Command , args []string ) error {
You can’t perform that action at this time.
0 commit comments