Actions
Bug #27682
openhammer repository remove-content fails with Error: At least one of options --product, --product-id is required.
Status:
Assigned
Priority:
Normal
Assignee:
-
Category:
Repositories
Target version:
-
Description
hammer repository remove-content fails with Error: At least one of options --product, --product-id is required.
Steps:
1. Create a yum repo and upload some content rpm/srpm in it 2. Try to remove the content using repository name as below and it fails: # hammer repository remove-content --name repo1 --ids 1 Could not remove content: Error: At least one of options --product, --product-id is required.
Expected result:
Able to remove the content using repo name
Other:
Same can delete by using repo id as below:
- hammer repository remove-content --id 46 --ids 1
Repository content removed.
Actions