hammer docker manifest list never shows docker tag names
`hammer docker manifest list` has "Tag name" column, but never shows anything in it.
It seems that hammer_cli_foreman_docker/lib/hammer_cli_foreman_docker/docker_manifest.rb file expects tag field with definition of single tag. Meanwhile, API returns "tags" field with array of tags data.
git log on katello/app/models/katello/docker_manifest.rb shows that model used to have `has_one :docker_tag`, but that was changed to `has_many` in late 2016. Marking as Regression since I assume it did work as advertised before that change.
Fixes #25874 - Shows tag info in manifest list
Prior to this commit "hammer docker manifest list" would show empty
values in the "Tag Names" column. This is because Tags became a one to
many. i.e. manifest can have multiple tags.
This commit addresses both the "docker manifest list" and "docker
manifest info" cases appropriately
#2 Updated by Partha Aji about 4 years ago
- Status changed from New to Closed
Applied in changeset hammer_cli_foreman_docker|b12b9a0f10d31d748facb234d030ee11d89e75fe.