Project

General

Profile

Actions

Bug #15457

closed

The host-collection info command is missing organization parameters

Added by David Davis almost 9 years ago. Updated over 6 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
Hammer
Target version:
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

Without organization parameters, it's impossible to look up a host collection by name:

$ hammer organization create --name Org2
$ hammer host-collection create --name HC1 --organization-id 1
$ hammer host-collection create --name HC1 --organization-id 3
$ hammer host-collection info --name HC1
Error: found more than one host_collection

We should probably also consider requiring org params if name is supplied.

Actions

Also available in: Atom PDF