Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the 'reason' text in metallb Reconcile
Change errorMsg value to "internal error" because previously, assigning it the error message string resulted in failure to update the condition having the following error: status.conditions[3].reason in body should match '^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$'", "errorVerbose": "MetalLB.metallb.io \"metallb\" is invalid: status.conditions[3].reason: Invalid value: i.e. the error message includes invalid characters. we do print the error message under the status.conditions.message. Example of the error message that includes invalid characters: "FailedToSyncMetalLBResources: could not apply (apps/v1, Kind=Deployment) openshift-metallb-system/controller: could not update object (apps/v1, Kind=Deployment) openshift-metallb-system/controller: Operation cannot be fulfilled on deployments.apps \\\"controller\\\": the object has been modified; please apply your changes to the latest version and try again\" Signed-off-by: liornoy <[email protected]>
- Loading branch information