Skip to content

Commit

Permalink
OCM-11993 | Describe cluster shows WifConfig data (#683)
Browse files Browse the repository at this point in the history
  • Loading branch information
renan-campos authored Oct 22, 2024
1 parent db35759 commit 862b072
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/cluster/describe.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,10 @@ func PrintClusterDescription(connection *sdk.Connection, cluster *cmv1.Cluster)
fmt.Printf("Control-Plane-Subnet: %s\n", cluster.GCPNetwork().ControlPlaneSubnet())
}
if cluster.GCPNetwork().ComputeSubnet() != "" {
fmt.Printf("Compute-Subnet: %s\n", cluster.GCPNetwork().ComputeSubnet())
fmt.Printf("Compute-Subnet: %s\n", cluster.GCPNetwork().ComputeSubnet())
}
if cluster.GCP().Authentication().Id() != "" {
fmt.Printf("Wif-Config-Id: %s\n", cluster.GCP().Authentication().Id())
}
}

Expand Down

0 comments on commit 862b072

Please sign in to comment.