diff --git a/pkg/frontend/openshiftcluster_putorpatch.go b/pkg/frontend/openshiftcluster_putorpatch.go index c35f7255ee8..5c630897853 100644 --- a/pkg/frontend/openshiftcluster_putorpatch.go +++ b/pkg/frontend/openshiftcluster_putorpatch.go @@ -311,9 +311,7 @@ func validateIdentityUrl(cluster *api.OpenShiftCluster, identityURL string, isCr return nil } - if cluster.Identity != nil { - cluster.Identity.IdentityURL = identityURL - } + cluster.Identity.IdentityURL = identityURL return nil }