Project

General

Profile

Actions

Bug #14871

closed

hammer-cli-katello: 'capsule content synchronize' generates error with 'name' input

Added by Brad Buckingham almost 9 years ago. Updated over 6 years ago.

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

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

Also available in: Atom PDF