Actions
Bug #14871
closedhammer-cli-katello: 'capsule content synchronize' generates error with 'name' input
Difficulty:
Triaged:
Bugzilla link:
Description
If the user attempts to sync a capsule using the CLI, they will receive an error, if using the capsule 'name' vs 'id'.
E.g.
hammer> capsule content synchronize --name katello.example.com
Could not synchronize capsule content:
Error: undefined method `[]' for nil:NilClass
This should look more like one of the following:
hammer> capsule content synchronize --name katello.example.com
Could not synchronize capsule content:
This request may only be performed on a Capsule that has the Pulp Node feature.
hammer> capsule content synchronize --organization-id 1 --environment dev --name capsule.example.com
[...................................................................................................] [100%]
Actions