From cefe8cc552173a3cfd12535a16adf76714e6c538 Mon Sep 17 00:00:00 2001 From: Jeremy Eder Date: Thu, 14 Jan 2021 22:13:17 +0000 Subject: [PATCH] add openshift version to describe output --- cmd/describe/cluster/cmd.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/describe/cluster/cmd.go b/cmd/describe/cluster/cmd.go index 779f33d2bb..70956c3770 100644 --- a/cmd/describe/cluster/cmd.go +++ b/cmd/describe/cluster/cmd.go @@ -201,6 +201,7 @@ func run(_ *cobra.Command, argv []string) { // Print short cluster description: str := fmt.Sprintf(""+ "Name: %s\n"+ + "OpenShift Version: %s\n"+ "DNS: %s.%s\n"+ "ID: %s\n"+ "External ID: %s\n"+ @@ -214,6 +215,7 @@ func run(_ *cobra.Command, argv []string) { "Private: %s\n"+ "Created: %s\n", clusterName, + cluster.OpenshiftVersion(), cluster.Name(), cluster.DNS().BaseDomain(), cluster.ID(), cluster.ExternalID(),