c8d/builder: Set empty diffID for rolayer
diffID is the digest of a tar archive containing changes to the parent layer - rolayer doesn't have any changes to the parent. Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This commit is contained in:
parent
6ebfa57364
commit
8c7e19c5ff
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ func newROLayerForImage(ctx context.Context, imgDesc *ocispec.Descriptor, i *Ima
|
|||
key: key,
|
||||
c: i.client,
|
||||
snapshotter: i.snapshotter,
|
||||
diffID: digest.Digest(parent),
|
||||
diffID: "", // Image RO layer doesn't have a diff.
|
||||
contentStoreDigest: "",
|
||||
}, nil
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue