mirror of
https://github.com/containers/podman.git
synced 2025-11-13 17:47:13 +08:00
vendor c/common@main
In hope to fix a CI flake. Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
This commit is contained in:
2
vendor/github.com/containers/common/libimage/image.go
generated
vendored
2
vendor/github.com/containers/common/libimage/image.go
generated
vendored
@@ -608,7 +608,7 @@ func (i *Image) RepoTags() ([]string, error) {
|
||||
// NamedTaggedRepoTags returns the repotags associated with the image as a
|
||||
// slice of reference.NamedTagged.
|
||||
func (i *Image) NamedTaggedRepoTags() ([]reference.NamedTagged, error) {
|
||||
var repoTags []reference.NamedTagged
|
||||
repoTags := make([]reference.NamedTagged, 0, len(i.Names()))
|
||||
for _, name := range i.Names() {
|
||||
parsed, err := reference.Parse(name)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user