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 api_proxy delete method to only succeed when proxy is deleted #55

Merged
merged 1 commit into from
Jan 15, 2020

Conversation

daniel-ds
Copy link
Contributor

Previously, when the delete method fails to delete the proxy it still claims to have succeeded and removes the proxy from state.
For example, when a proxy has a deployment associated with it it cannot be deleted.
This was due to a small bug in the delete method.

Added a test to check this behaviour.

Previously, when the delete method fails to delete the proxy it still claims to have succeeded and removes the proxy from state.
For example, when a proxy has a deployment associated with it, it cannot be deleted.
This was due to a small bug in the delete method.

Added a test to check this behaviour.
@zambien
Copy link
Owner

zambien commented Jan 15, 2020

Thanks for the fix!

@zambien zambien merged commit 0b98d55 into zambien:master Jan 15, 2020
@daniel-ds daniel-ds deleted the fix-proxy-delete branch July 6, 2020 14:00
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.

2 participants