mirror of
https://github.com/containers/skopeo.git
synced 2025-10-22 03:24:25 +00:00
vendor containers/image, OCI/image-spec
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
6
vendor/github.com/containers/image/copy/copy.go
generated
vendored
6
vendor/github.com/containers/image/copy/copy.go
generated
vendored
@@ -114,7 +114,11 @@ func Image(ctx *types.SystemContext, policyContext *signature.PolicyContext, des
|
||||
return fmt.Errorf("Error reading signatures: %v", err)
|
||||
}
|
||||
sigs = s
|
||||
// FIXME: Fail early if we can detect that RemoveSignatures should be used.
|
||||
}
|
||||
if len(sigs) != 0 {
|
||||
if err := dest.SupportsSignatures(); err != nil {
|
||||
return fmt.Errorf("Can not copy signatures: %v", err)
|
||||
}
|
||||
}
|
||||
|
||||
blobDigests, err := src.BlobDigests()
|
||||
|
Reference in New Issue
Block a user