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 nat READ for non-existant rule #166

Merged
merged 1 commit into from
May 15, 2019
Merged

Fix nat READ for non-existant rule #166

merged 1 commit into from
May 15, 2019

Conversation

annakhm
Copy link
Collaborator

@annakhm annakhm commented May 14, 2019

NSX returns 400 response code for NAT rule that can not be found,
instead of the conventional 404. This leads to provider erroring out,
while it should just detect resource absence. To work around this,
this change handles 400 response code as if it was 404.

NSX returns 400 response code for NAT rule that can not be found,
instead of the conventional 404. This leads to provider erroring out,
while it should just detect resource absence. To work around this,
this change handles 400 response code as if it was 404.
@annakhm annakhm requested a review from asarfaty May 14, 2019 20:17
@ghost ghost added the size/xs Relative Sizing: extra-small label May 14, 2019
@annakhm annakhm merged commit fedbe47 into master May 15, 2019
@annakhm annakhm deleted the nat_400 branch July 3, 2019 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/xs Relative Sizing: extra-small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants