Skip to content

Add ability to handle 502 and 504 errors#2245

Merged
mandre merged 3 commits intogophercloud:masterfrom
pbasov:pbasov/master
May 21, 2022
Merged

Add ability to handle 502 and 504 errors#2245
mandre merged 3 commits intogophercloud:masterfrom
pbasov:pbasov/master

Conversation

@pbasov
Copy link
Copy Markdown
Contributor

@pbasov pbasov commented Oct 25, 2021

This change introduces additional types to handle 502 Bad Gateway and 504 Gateway Timeout http errors

For #2244
Related terraform-provider-openstack/terraform-provider-openstack#1303

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci bot commented Oct 26, 2021

Build failed.

@pbasov
Copy link
Copy Markdown
Contributor Author

pbasov commented Oct 26, 2021

recheck

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci bot commented Oct 27, 2021

Build failed.

@pbasov
Copy link
Copy Markdown
Contributor Author

pbasov commented Oct 29, 2021

recheck

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci bot commented Oct 29, 2021

Build failed.

@pierreprinetti
Copy link
Copy Markdown
Member

recheck

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci bot commented Nov 1, 2021

Build failed.

@coveralls
Copy link
Copy Markdown

coveralls commented Nov 1, 2021

Coverage Status

Coverage increased (+0.05%) to 79.966% when pulling 03ccd12 on pbasov:pbasov/master into c2c9a55 on gophercloud:master.

@EmilienM
Copy link
Copy Markdown
Contributor

EmilienM commented Nov 3, 2021

The coverage decreased, could you please add tests in https://github.com/gophercloud/gophercloud/blob/master/testing/errors_test.go if that makes sense to you?

Thanks for your contribution!

@EmilienM
Copy link
Copy Markdown
Contributor

@pbasov hopefully this is fine for you, I pushed a patch to maintain unit testing coverage. Feel free to rework the patch that I sent.

Thanks

@EmilienM
Copy link
Copy Markdown
Contributor

oops sounds like coverage is still not happy. I'll take a look later unless you can check it as well.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci bot commented Nov 10, 2021

Build failed.

pbasov and others added 2 commits February 14, 2022 15:18
* Additional types to handle 502 Bad Gateway and 504 Gateway Timeout http errors
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci bot commented Feb 14, 2022

Build succeeded.

Copy link
Copy Markdown
Contributor

@mandre mandre left a comment

Choose a reason for hiding this comment

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

Just a small typo, otherwise looks like it's in good shape to merge.

@mandre mandre merged commit 4a5da24 into gophercloud:master May 21, 2022
mdelord pushed a commit to ovh/gophercloud that referenced this pull request Oct 7, 2022
Additional types to handle 502 Bad Gateway and 504 Gateway Timeout http errors

Co-authored-by: Pavel Basov <pbasov@mirantis.com>
Co-authored-by: Emilien Macchi <emilien@redhat.com>
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.

5 participants