Project

General

Profile

Actions

Bug #6029

closed

hammer repo list --product=<name> returns wrong repos

Added by Partha Aji almost 11 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Category:
Hammer
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

hammer repository list --product-id=2 --organization-id=1 works well and returns the repositories belonging to the product.
OTOH

hammer repository list --product=foo --organization-id=1 where foo is the name of the product, returns repositories belonging to all products in that organization.

After some debugging it looks like the repositories controller never really gets a product_id sent as parameter when --product=foo is used.

Actions

Also available in: Atom PDF