mirror of
https://github.com/containers/podman.git
synced 2025-12-08 06:39:05 +08:00
Vendor latest c/image
Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
This commit is contained in:
2
vendor/github.com/containers/image/v5/internal/imagedestination/wrapper.go
generated
vendored
2
vendor/github.com/containers/image/v5/internal/imagedestination/wrapper.go
generated
vendored
@@ -28,7 +28,7 @@ type wrapped struct {
|
||||
//
|
||||
// NOTE: The returned API MUST NOT be a public interface (it can be either just a struct
|
||||
// with public methods, or perhaps a private interface), so that we can add methods
|
||||
// without breaking any external implementors of a public interface.
|
||||
// without breaking any external implementers of a public interface.
|
||||
func FromPublic(dest types.ImageDestination) private.ImageDestination {
|
||||
if dest2, ok := dest.(private.ImageDestination); ok {
|
||||
return dest2
|
||||
|
||||
Reference in New Issue
Block a user