Skip to content

Commit

Permalink
Remove convert and revert command (#826)
Browse files Browse the repository at this point in the history
Signed-off-by: lonelyCZ <531187475@qq.com>
  • Loading branch information
lonelyCZ committed May 13, 2022
1 parent c84bc31 commit 4e2a6ad
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1,235 deletions.
4 changes: 0 additions & 4 deletions pkg/yurtctl/cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,9 @@ import (

"github.com/openyurtio/openyurt/pkg/projectinfo"
"github.com/openyurtio/openyurt/pkg/yurtctl/cmd/clusterinfo"
"github.com/openyurtio/openyurt/pkg/yurtctl/cmd/convert"
"github.com/openyurtio/openyurt/pkg/yurtctl/cmd/join"
"github.com/openyurtio/openyurt/pkg/yurtctl/cmd/markautonomous"
"github.com/openyurtio/openyurt/pkg/yurtctl/cmd/reset"
"github.com/openyurtio/openyurt/pkg/yurtctl/cmd/revert"
"github.com/openyurtio/openyurt/pkg/yurtctl/cmd/yurtinit"
"github.com/openyurtio/openyurt/pkg/yurtctl/cmd/yurttest"
)
Expand All @@ -48,8 +46,6 @@ func NewYurtctlCommand() *cobra.Command {
setVersion(cmds)
// add kubeconfig to persistent flags
cmds.PersistentFlags().String("kubeconfig", "", "The path to the kubeconfig file")
cmds.AddCommand(convert.NewConvertCmd())
cmds.AddCommand(revert.NewRevertCmd())
cmds.AddCommand(markautonomous.NewMarkAutonomousCmd())
cmds.AddCommand(clusterinfo.NewClusterInfoCmd())
cmds.AddCommand(yurtinit.NewCmdInit())
Expand Down
374 changes: 0 additions & 374 deletions pkg/yurtctl/cmd/convert/convert.go

This file was deleted.

Loading

0 comments on commit 4e2a6ad

Please sign in to comment.