Fix the wrong version output of controller-manager

Signed-off-by: rick <linuxsuren@users.noreply.github.com>
This commit is contained in:
rick
2021-06-01 15:38:39 +08:00
parent 902ca0ed6d
commit 679109969f

View File

@@ -116,7 +116,7 @@ func NewControllerManagerCommand() *cobra.Command {
versionCmd := &cobra.Command{
Use: "version",
Short: "Print the version of KubeSphere ks-apiserver",
Short: "Print the version of KubeSphere controller-manager",
Run: func(cmd *cobra.Command, args []string) {
cmd.Println(version.Get())
},