You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem seems to be in Reconcile() function, which does not cover the case of a binding marked for deletion and RabbitMQ Cluster object does not exist.
Describe the bug
When a Binding object is marked for deletion and RabbitMQ Cluster does not exist, the operator panics.
To Reproduce
Steps to reproduce the behavior: Untested
Include any YAML or manifest necessary to reproduce the problem.
Expected behavior
The Operator deletes the binding object and/or removes the finalizer in the Binding object.
Screenshots
Log snippet
Additional context
The problem seems to be in
Reconcile()
function, which does not cover the case of a binding marked for deletion and RabbitMQ Cluster object does not exist.messaging-topology-operator/controllers/binding_controller.go
Lines 59 to 65 in 02fc8f0
We have done a quick spike to verify this, but we should fix this properly and add a test using the framework in #89.
The text was updated successfully, but these errors were encountered: