Skip to content

Commit d2d04a8

Browse files
committed
chore: remove cluster info command
since this is not a kubernetes cluster this command does not work
1 parent 4edda0d commit d2d04a8

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

internal/cmd/root.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import (
1010
"k8s.io/cli-runtime/pkg/genericclioptions"
1111
"k8s.io/kubectl/pkg/cmd/apiresources"
1212
"k8s.io/kubectl/pkg/cmd/apply"
13-
"k8s.io/kubectl/pkg/cmd/clusterinfo"
1413
"k8s.io/kubectl/pkg/cmd/create"
1514
delcmd "k8s.io/kubectl/pkg/cmd/delete"
1615
"k8s.io/kubectl/pkg/cmd/describe"
@@ -78,10 +77,6 @@ func RootCmd() *cobra.Command {
7877
apiVersionCmd.GroupID = "other"
7978
rootCmd.AddCommand(apiVersionCmd)
8079

81-
clusterInfoCmd := clusterinfo.NewCmdClusterInfo(factory, ioStreams)
82-
clusterInfoCmd.GroupID = "other"
83-
rootCmd.AddCommand(clusterInfoCmd)
84-
8580
apiResourceCmd := apiresources.NewCmdAPIResources(factory, ioStreams)
8681
apiResourceCmd.GroupID = "other"
8782
rootCmd.AddCommand(apiResourceCmd)

0 commit comments

Comments
 (0)