Actions
Bug #27508
closedHammer package list with environment flag uses wrong api
Difficulty:
easy
Triaged:
Yes
Description
When doing
- hammer package list --help we see this option:
--environment ENVIRONMENT_NAME Lifecycle environment name to search by
here is mine:
[vagrant@centos7-hammer-devel hammer-cli-katello]$ hammer lifecycle-environment list
---|---------|--------
ID | NAME | PRIOR
---|---------|--------
2 | dev | Library
1 | Library |
---|---------|--------
but the command calls out to foreman instead of katello
[ INFO 2019-08-02T15:47:41 API] GET /api/environments
so when i do this
[vagrant@centos7-hammer-devel hammer-cli-katello]$ hammer package list --environment Library
Error: environment not found.
Updated by Chris Roberts over 5 years ago
- Target version set to Katello Backlog
- Triaged changed from No to Yes
Updated by The Foreman Bot over 5 years ago
- Status changed from New to Ready For Testing
- Assignee set to Partha Aji
- Pull request https://github.com/Katello/hammer-cli-katello/pull/689 added
Updated by Partha Aji over 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset hammer-cli-katello|0b0b878e8c67a6f14eb0c00e1adf05a49ff0c45b.
Updated by Justin Sherrill over 5 years ago
- Target version deleted (
Katello Backlog) - Triaged changed from Yes to No
Updated by Chris Roberts over 5 years ago
- Target version set to Katello 3.13.0
- Found in Releases Katello 3.12.3 added
- Found in Releases deleted (
Katello 3.12.0)
Actions