TotalClientSecrets field gets omitempty and becomes int32

This commit is contained in:
Ryan Richard
2022-07-14 09:30:03 -07:00
parent 93939ccbd8
commit be85e1ed0a
28 changed files with 212 additions and 37 deletions

View File

@@ -344,7 +344,7 @@ func (c *oidcClientWatcherController) updateStatus(
updated.Status.Phase = v1alpha1.PhaseError
}
updated.Status.TotalClientSecrets = totalClientSecrets
updated.Status.TotalClientSecrets = int32(totalClientSecrets)
if equality.Semantic.DeepEqual(upstream, updated) {
return nil