Project

General

Profile

Bug #25915

hammer shows "Container Image Tags Filter" for non-docker repositories

Added by Partha Aji over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

If Docker tags whitelist field in repository is set to anything else than `null`, hammer will show "Container Image Tags Filter" - even if repository is of type different than `docker`.

Version:
katello-3.9 and above

Steps to reproduce:
1. Create product
2. Create repository of type different than docker
3. Set docker_tags_whitelist field for that repository to empty array (trigger Bug 1649866)
4. `hammer repository info --id <id>`

Actual results (excerpt from example):
ID: 2
Content Type: yum
Container Image Tags Filter:

Expected results:
"Container Image Tags Filter:" is not present in output - it is not relevant for non-docker repositories.

Associated revisions

Revision f911d42a (diff)
Added by Partha Aji over 3 years ago

Fixes #25915 - Skip white list info on repos (#623)

This commit make the white list information NOT show up for non-docker
repos.
In other words
hammer repository info --name=yum --product-id=100

will not show the "Container Image Tags Filter" for non docker repos

History

#1 Updated by Partha Aji over 3 years ago

  • Bugzilla link set to 1649871

#2 Updated by The Foreman Bot over 3 years ago

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

#3 Updated by Anonymous over 3 years ago

  • Status changed from Ready For Testing to Closed

#4 Updated by Jonathon Turel over 3 years ago

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

Also available in: Atom PDF