-
Notifications
You must be signed in to change notification settings - Fork 898
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
2 changed files
with
23 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters