Bug #16307
unable to modify repos with hammer without --product-id
Description
If you specify a product with the product's name instead of ID, it will fail. For example, after creating a product "AA" and adding a single yum repo named 'ee':
$ hammer --username admin --password changeme repository update --name ee --product 'AA' --download-policy 'on_demand' Could not update the repository: Error: Could not find organization. Some search options were missing, please see --help.
However, specifying the organization fails:
$ hammer --username admin --password changeme repository update --name ee --product 'AA' --download-policy 'on_demand' --organization-id 1 Could not update the repository: Error: Unrecognised option '--organization-id'
History
#1
Updated by Chris Duryee over 5 years ago
- Description updated (diff)
#2
Updated by Justin Sherrill over 5 years ago
- Legacy Backlogs Release (now unused) set to 114