Project

General

Profile

Actions

Bug #14307

open

change katello id resolver to not use 'name' parameters

Added by Justin Sherrill about 8 years ago. Updated almost 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Hammer
Target version:
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

In hammer foreman the id resolver defaults to passing:

search: {name: 'foo'}

to perform the id resolving. For various historical reasons in katello we pass:

name: 'foo'

As a result for any foreman entity we have to do this:

https://github.com/Katello/hammer-cli-katello/blob/master/lib/hammer_cli_katello/id_resolver.rb#L128-L138

Which is not ideal. We should just be consistent with foreman now.

No data to display

Actions

Also available in: Atom PDF