Project

General

Profile

Actions

Bug #37955

open

hammer does not propagate errors in host update

Added by Jeremy Lenz about 2 months ago. Updated 28 days ago.

Status:
New
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
Actions

Also available in: Atom PDF