Project

General

Profile

Actions

Bug #8892

closed

content-override does not produce an error when --label is missing

Added by Christine Fouant over 9 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Hammer
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1173723
Description of problem:
when running activation-key content-override, you must include the label of the product being overridden. However, a user can currently run content-override without passing --label. Of course, no change is made.

Version-Release number of selected component (if applicable):
Nightly

How reproducible:
always

Steps to Reproduce:
1. create an activation key and add a subscription
2. run hammer -u admin -p ** activation-key content-override --id=<activation key id> --organization-id=<organization id>
3. view results

Actual results:
Command runs and returns "Updated content override"

Expected results:
An error should be returned informing the user that a product label is needed.

Additional info:

Actions

Also available in: Atom PDF