Closed
Description
From Ada Logics
In the Image-automation reconciler an issue is present where the code continues after an error occurs, leading to undefined behaviour:
image-automation-controller/controllers/imageupdateautomation_controller.go
Lines 204 to 211 in 674f833
The problem is that the
failWithErrorbranch does not itself return from the reconcile function and the code should instead be returnfailWithError
Recommendation
Change the code to return
failWithError
Metadata
Metadata
Assignees
Labels
No labels