Project

General

Profile

Actions

Bug #14871

closed

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

Added by Brad Buckingham over 8 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 #1

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
Actions #2

Updated by Eric Helms over 8 years ago

  • Translation missing: en.field_release set to 143
Actions #3

Updated by Brad Buckingham over 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF