feat: rename

This commit is contained in:
fengcaiwen
2023-01-12 16:49:36 +08:00
parent 8df6c9c0f8
commit 7e5aa5e944
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ import (
cmdutil "k8s.io/kubectl/pkg/cmd/util"
)
func Main() *cobra.Command {
func NewKubeVPNCommand() *cobra.Command {
var cmd = &cobra.Command{
Use: "kubevpn",
Short: "kubevpn",

View File

@@ -7,5 +7,5 @@ import (
)
func main() {
_ = cmds.Main().Execute()
_ = cmds.NewKubeVPNCommand().Execute()
}