Fix the wrong version output of controller-manager
Signed-off-by: rick <linuxsuren@users.noreply.github.com>
This commit is contained in:
@@ -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())
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user