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

Catch Bad Request responses in safe_call #330

Merged
merged 1 commit into from Aug 7, 2018

Conversation

mansam
Copy link
Contributor

@mansam mansam commented Aug 6, 2018

@mansam mansam requested a review from aufi August 6, 2018 20:49
@miq-bot
Copy link
Member

miq-bot commented Aug 6, 2018

Checked commit mansam@a92e279 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
1 file checked, 2 offenses detected

app/models/manageiq/providers/openstack/refresh_parser_common/helper_methods.rb

@aufi
Copy link
Member

aufi commented Aug 7, 2018

Makes sense to me given other types or error handled is the same way.

Merging!

@aufi aufi added the bug label Aug 7, 2018
@aufi aufi merged commit 9bc4293 into ManageIQ:master Aug 7, 2018
@aufi aufi added this to the Sprint 92 Ending Aug 13, 2018 milestone Aug 7, 2018
@JPrause
Copy link
Member

JPrause commented Aug 7, 2018

@miq-bot add_label blocker

@miq-bot miq-bot added the blocker label Aug 7, 2018
simaishi pushed a commit that referenced this pull request Aug 8, 2018
@simaishi
Copy link
Contributor

simaishi commented Aug 8, 2018

Gaprindashvili backport details:

$ git log -1
commit 4894d7dae1e01a61ce0ec644195a858148352b2f
Author: Marek Aufart <aufi.cz@gmail.com>
Date:   Tue Aug 7 14:46:14 2018 +0200

    Merge pull request #330 from mansam/catch-bad-requests-during-refresh
    
    Catch Bad Request responses in safe_call
    (cherry picked from commit 9bc4293ee16e8977450b3002f5fd383129e3f1cc)
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1613757

@simaishi
Copy link
Contributor

Fine backport (to manageiq repo) details:

$ git log -1
commit 73ec980f1532d0d877e7524a0c9b9d9cffc75c22
Author: Marek Aufart <aufi.cz@gmail.com>
Date:   Tue Aug 7 14:46:14 2018 +0200

    Merge pull request #330 from mansam/catch-bad-requests-during-refresh
    
    Catch Bad Request responses in safe_call
    (cherry picked from commit 9bc4293ee16e8977450b3002f5fd383129e3f1cc)
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1613758

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants