Bug #14871
closedhammer-cli-katello: 'capsule content synchronize' generates error with 'name' input
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%]
Updated by The Foreman Bot over 8 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/hammer-cli-katello/pull/389 added
Updated by Eric Helms over 8 years ago
- Translation missing: en.field_release set to 143
Updated by Brad Buckingham over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset hammer-cli-katello|a167e20edc76969a13fdf550788df6406c20bc6e.