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

Send IDs through exec_api_call as a regular param not a block #16708

Merged
merged 1 commit into from
Dec 21, 2017

Commits on Dec 21, 2017

  1. Send IDs through exec_api_call as a regular param not a block

    When sending them through an array in a block, the client calls the action
    on the collection with an array of IDs.  Unfortunately this returns an
    Array of ManageIQ::API::Client::ActionResults and Arrays aren't currently
    an expected response for this caller, so it will raise:
    "Got unexpected API result object Array"
    
    Rather than dealing with the confusion of calling .first on the array,
    allow an ID to be passed in.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1526009
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1528339
    bdunne committed Dec 21, 2017
    Configuration menu
    Copy the full SHA
    1eca9a8 View commit details
    Browse the repository at this point in the history