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

Ensure options is always a hash #17917

Merged
merged 1 commit into from
Aug 28, 2018

Conversation

bdunne
Copy link
Member

@bdunne bdunne commented Aug 28, 2018

#17802 added a line that called [] on options and if nil, it would raise NoMethodError where it should have returned nil

https://github.com/ManageIQ/manageiq/pull/17802/files#diff-72d768ae2e73b9e77080d4a7df59cf56R226
Thanks for the debugging help @d-m-u !

ManageIQ#17802 added a line that called []
on options and if nil, it would raise NoMethodError where it should have
returned nil
@bdunne bdunne force-pushed the fix_the_api_specs_after_17802 branch from fcad896 to 41fb53c Compare August 28, 2018 17:28
@gmcculloug gmcculloug self-assigned this Aug 28, 2018
@gmcculloug gmcculloug merged commit 64f9089 into ManageIQ:master Aug 28, 2018
@gmcculloug gmcculloug added this to the Sprint 94 Ending Sept 10, 2018 milestone Aug 28, 2018
@miq-bot
Copy link
Member

miq-bot commented Aug 28, 2018

Checked commit bdunne@41fb53c with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
3 files checked, 0 offenses detected
Everything looks fine. ⭐

@bdunne bdunne deleted the fix_the_api_specs_after_17802 branch August 28, 2018 17:34
simaishi pushed a commit that referenced this pull request Sep 13, 2018
@simaishi
Copy link
Contributor

Gaprindashvili backport details:

$ git log -1
commit 174a2c1159be0d5f71424ab6f8002c9ee3eb066b
Author: Greg McCullough <gmccullo@redhat.com>
Date:   Tue Aug 28 13:31:13 2018 -0400

    Merge pull request #17917 from bdunne/fix_the_api_specs_after_17802
    
    Ensure options is always a hash
    (cherry picked from commit 64f9089f20a011b4033cf5f97a2f1c9b5903aec3)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1618800

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.

6 participants