-
Bug
-
Resolution: Done-Errata
-
Normal
-
4.14.0
-
No
-
False
-
Description of problem:
1. CR.status.LastSyncTimestamp should also be updated in the "else" code branch: https://github.com/openshift/cloud-credential-operator/blob/4cb9faca62c31ebea9a11b55f7af764be4ee2cd8/pkg/operator/credentialsrequest/credentialsrequest_controller.go#L1054 2. r.Client.Status().Update is not called on the CR object in memory after this line: https://github.com/openshift/cloud-credential-operator/blob/4cb9faca62c31ebea9a11b55f7af764be4ee2cd8/pkg/operator/credentialsrequest/credentialsrequest_controller.go#L713 So CR.status.conditions are not updated.
Steps to Reproduce:
This results from a static code check.