Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix panic when bindings reference a deleted cluster #102

Merged
merged 10 commits into from
Apr 12, 2021

Conversation

coro
Copy link
Contributor

@coro coro commented Apr 8, 2021

This closes #95

Note to reviewers: remember to look at the commits in this PR and consider if they can be squashed
Note to contributors: remember to re-generate client set if there are any API changes

Summary Of Changes

This change prevents the controller from panicking when trying to reconcile bindings that reference a non-existent RabbitmqCluster.

Additional Context

This also adds integration tests to the binding controller.

Copy link
Contributor

@Zerpet Zerpet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Left a cosmetic comment, feel free to merge without addressing it 🙂

@ChunyiLyu
Copy link
Contributor

Looks good! Just need to remember to squash merge :)

@coro coro merged commit d4ffeeb into main Apr 12, 2021
@coro coro deleted the delete-non-existant-binding branch April 12, 2021 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deleting a binding on a non-existing RabbitMQ Cluster causes a panic
4 participants