Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit f291b77

Browse files
author
aiordache
committed
rename context to kubernetes
Signed-off-by: aiordache <[email protected]>
1 parent 50792c4 commit f291b77

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

api/context/store/store.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const (
5757
LocalContextType = "local"
5858
// KubeContextType is the endpoint key in the context endpoints for a new
5959
// kube backend
60-
KubeContextType = "kube"
60+
KubeContextType = "kubernetes"
6161
)
6262

6363
const (

cli/cmd/context/create_kube.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,16 @@ import (
3333
func init() {
3434
extraCommands = append(extraCommands, createKubeCommand)
3535
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)
3939
`)
4040
}
4141

4242
func createKubeCommand() *cobra.Command {
4343
var opts kube.ContextParams
4444
cmd := &cobra.Command{
45-
Use: "kube CONTEXT [flags]",
45+
Use: "kubernetes CONTEXT [flags]",
4646
Short: "Create context for a Kubernetes Cluster",
4747
Args: cobra.ExactArgs(1),
4848
RunE: func(cmd *cobra.Command, args []string) error {

0 commit comments

Comments
 (0)