Project

General

Profile

Actions

Bug #37955

closed

hammer does not propagate errors in host update

Added by Jeremy Lenz 6 months ago. Updated 23 days ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Hammer
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

When I try to update an activation key with an invalid content view environment, I correctly get an error:

$ hammer activation-key update --organization-id 1 --name ak5 --content-view-environments Library/Library
Could not update the activation key:
  No content view environments found with names: Library/Library

But the same thing on host update does not propagate the error:

$ hammer host update --id 4 --content-view-environments Library/Library
Could not update the host

Related issues 1 (0 open1 closed)

Is duplicate of Hammer CLI - Bug #38291: Propagate error messages from KatelloClosedJeremy LenzActions
Actions

Also available in: Atom PDF