Revision 65ee4da7
Added by Og B. Maciel about 10 years ago
lib/hammer_cli_katello/product.rb | ||
---|---|---|
|
||
class ListCommand < HammerCLIKatello::ListCommand
|
||
output do
|
||
field :id, _("Product ID")
|
||
field :id, _("ID")
|
||
field :name, _("Name")
|
||
|
||
from :provider do
|
||
... | ... | |
include HammerCLIKatello::ScopedNameCommand
|
||
|
||
output do
|
||
field :id, _("Product ID")
|
||
field :id, _("ID")
|
||
field :name, _("Name")
|
||
field :label, _("Label")
|
||
field :description, _("Description")
|
Also available in: Unified diff
CLI for Product should display ID and not Product ID.
Changing the output for Product CLI from displaying "Product ID" to "ID" as
it currently happens with all other resources. This also helps QE automation
as it expects all resources to have a "ID" field.