Project

General

Profile

Actions

Bug #15540

closed

Unable to remove repo content using repo name through hammer

Added by Andrew Kofink over 8 years ago. Updated over 6 years ago.

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

Description

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

Unable to remove content from a custom repo using the repo name.

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

How reproducible:
Try to remove content repo content using repo name

Steps to Reproduce:
1. hammer repository remove-content --name test --content-ids 12345 --organization-id X
2. Same command works if name is substituted by the repository id
3. hammer repository remove-content --id Y --content-ids 12345 --organization-id X

Actual results:
Could not remove content:
Error: Unknown option name 'option_product_name'

Expected results:
Repository content removed

Actions

Also available in: Atom PDF