Project

General

Profile

Bug #26091

hammer content-view update fails on --repositories

Added by Partha Aji about 2 years ago. Updated about 2 years ago.

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

Description

Consider the following call

hammer content-view update --organization-id=4  --repositories=goo --id=6

This call should have ve required a product-id to identify the repo with the correct name. Instead this call searches across all products and orgs for a repository with the given name.

We should require a --product-id when specifying a repository name.

Associated revisions

Revision 90e8f98a (diff)
Added by Partha Aji about 2 years ago

Fixes #26091 - Require product-id on cv update (#630)

  • Fixes #26091 - Require product-id on cv update

This commit fixes the following call
hammer content-view update
--id=6 --organization-id=4 --repositories=goo

It fixes it by requiring the user to specify the product-id when the
repositories flag is used.

  • Refs #26091 - Unit test fixes
  • Refs #26091 - Unit test fixes

History

#1 Updated by Partha Aji about 2 years ago

  • Bugzilla link set to 1546021

#2 Updated by The Foreman Bot about 2 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/hammer-cli-katello/pull/630 added

#3 Updated by Chris Roberts about 2 years ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.12.0

#4 Updated by Anonymous about 2 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF