Project

General

Profile

Actions

Bug #16350

closed

improve the output of "hammer content-view puppet-module list"

Added by Brad Buckingham over 8 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Content Views
Target version:
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1368126
Description of problem:

Running the following command:
hammer content-view puppet-module list --content-view-id 1
on the default content view returns:
Couldn't find Katello::ContentView with 'id'=1 [WHERE "katello_content_views"."default" = 'f']
Expected results:
The command should return an empty list, for example when listing filters of a filter-less content view:
hammer content-view filter list --content-view-id 1
----------|------|------|----------
FILTER ID | NAME | TYPE | INCLUSION
----------|------|------|----------
Actions

Also available in: Atom PDF