Actions
Bug #37924
closedHammer does not filter deb-packages correctly
Difficulty:
easy
Triaged:
Yes
Description
Hammer commands that need to resolve deb-package names do not create correct API requests.
hammer content-view version incremental-update --debs thor,odin ...
This would result in the following API-request made:
[ INFO 2024-10-17T16:50:32 API] GET /katello/api/debs [DEBUG 2024-10-17T16:50:32 API] Params: { "name" => "thor", :per_page => 1000, :page => 1 }
The API will return all deb-packages it has due to the incorrect parameters.
It needs to do :search => "name = \"odin\" or name = \"thor\""
instead.
Actions