From e01979be301937480a67e6f5981811cb21423090 Mon Sep 17 00:00:00 2001 From: Renan Campos Date: Tue, 22 Oct 2024 16:07:15 -0400 Subject: [PATCH] OCM-11993 | Describe cluster shows WifConfig data --- pkg/cluster/describe.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkg/cluster/describe.go b/pkg/cluster/describe.go index 51b05e60..bb7aef24 100644 --- a/pkg/cluster/describe.go +++ b/pkg/cluster/describe.go @@ -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()) } }