Update pkg/commands/system.go

This commit is contained in:
Sun Jianbo
2020-09-21 19:22:34 +08:00
committed by 天元
parent 5414cc1f86
commit f5908741d3
+1 -1
View File
@@ -87,7 +87,7 @@ func NewAdminInfoCommand(ioStreams cmdutil.IOStreams) *cobra.Command {
func (i *infoCmd) run(ioStreams cmdutil.IOStreams) error {
clusterVersion, err := GetOAMReleaseVersion()
if err != nil {
return fmt.Errorf("fail to get cluster chartPath: %s", err)
return fmt.Errorf("fail to get cluster chartPath: %v", err)
}
ioStreams.Info("Versions:")
ioStreams.Infof("oam-kubernetes-runtime: %s \n", clusterVersion)