Skip to content

Commit

Permalink
add openshift version to describe output
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyeder committed Jan 14, 2021
1 parent e5231dc commit cefe8cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/describe/cluster/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"+
Expand All @@ -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(),
Expand Down

0 comments on commit cefe8cc

Please sign in to comment.