Skip to content

Commit

Permalink
[release-4.12] OCPBUGS-14065: Fix destination image reference (#650)
Browse files Browse the repository at this point in the history
* OCPBUGS-14065: fix: Limit the nested repository path while mirroring the images

* Fix destination image reference

---------

Co-authored-by: Alex Guidi <aguidi@redhat.com>
  • Loading branch information
lmzuccarelli and aguidirh committed May 31, 2023
1 parent ee4f83a commit 3ac49d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cli/mirror/mirror.go
Expand Up @@ -723,7 +723,7 @@ func (o *MirrorOptions) mirrorMappings(cfg v1alpha2.ImageSetConfiguration, image

mappings = append(mappings, mirror.Mapping{
Source: srcRef.TypedImageReference,
Destination: dstRef.TypedImageReference,
Destination: dstTIR,
Name: srcRef.Ref.Name,
})
}
Expand Down

0 comments on commit 3ac49d9

Please sign in to comment.