Skip to content

Commit

Permalink
remove unneccesary nil check
Browse files Browse the repository at this point in the history
  • Loading branch information
cadenmarchese committed May 30, 2024
1 parent e47ec72 commit 2567659
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/frontend/openshiftcluster_putorpatch.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 2567659

Please sign in to comment.