Skip to content

Commit 91fc394

Browse files
Fricounetimeoer
authored andcommitted
[nydus] Propagate mergeManifest to snapshotter converter
Use MergeOption.MergeManifest introduced in nydus-snapshotter v0.15.3 (containerd/nydus-snapshotter#674) Signed-off-by: Baptiste Girard-Carrabin <baptiste.girardcarrabin@datadoghq.com>
1 parent 6155408 commit 91fc394

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ require (
66
github.com/containerd/containerd/v2 v2.0.2
77
github.com/containerd/errdefs v1.0.0
88
github.com/containerd/log v0.1.0
9-
github.com/containerd/nydus-snapshotter v0.15.2
9+
github.com/containerd/nydus-snapshotter v0.15.3
1010
github.com/containerd/platforms v1.0.0-rc.1
1111
github.com/containerd/stargz-snapshotter v0.16.3
1212
github.com/containerd/stargz-snapshotter/estargz v0.16.3

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ github.com/containerd/fifo v1.1.0 h1:4I2mbh5stb1u6ycIABlBw9zgtlK8viPI9QkQNRQEEmY
7373
github.com/containerd/fifo v1.1.0/go.mod h1:bmC4NWMbXlt2EZ0Hc7Fx7QzTFxgPID13eH0Qu+MAb2o=
7474
github.com/containerd/log v0.1.0 h1:TCJt7ioM2cr/tfR8GPbGf9/VRAX8D2B4PjzCpfX540I=
7575
github.com/containerd/log v0.1.0/go.mod h1:VRRf09a7mHDIRezVKTRCrOq78v577GXq3bSa3EhrzVo=
76-
github.com/containerd/nydus-snapshotter v0.15.2 h1:qsHI4M+Wwrf6Jr4eBqhNx8qh+YU0dSiJ+WPmcLFWNcg=
77-
github.com/containerd/nydus-snapshotter v0.15.2/go.mod h1:FfwH2KBkNYoisK/e+KsmNr7xTU53DmnavQHMFOcXwfM=
76+
github.com/containerd/nydus-snapshotter v0.15.3 h1:dgeroRQnfgpTgnw2MgsWZCHr71bDbZhlH7cHD4FebHI=
77+
github.com/containerd/nydus-snapshotter v0.15.3/go.mod h1:eRJqnxQDr48HNop15kZdLZpFF5B6vf6Q11Aq1K0E4Ms=
7878
github.com/containerd/platforms v1.0.0-rc.1 h1:83KIq4yy1erSRgOVHNk1HYdPvzdJ5CnsWaRoJX4C41E=
7979
github.com/containerd/platforms v1.0.0-rc.1/go.mod h1:J71L7B+aiM5SdIEqmd9wp6THLVRzJGXfNuWCZCllLA4=
8080
github.com/containerd/plugin v1.0.0 h1:c8Kf1TNl6+e2TtMHZt+39yAPDbouRH9WAToRjex483Y=

pkg/driver/nydus/nydus.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ func (d *Driver) convert(ctx context.Context, provider accelcontent.Provider, so
290290
OCIRef: packOpt.OCIRef,
291291
Encrypt: encrypter,
292292
WithReferrer: d.withReferrer,
293+
MergeManifest: d.mergeManifest,
293294
}
294295
convertHookFunc := func(
295296
ctx context.Context, cs content.Store, orgDesc ocispec.Descriptor, newDesc *ocispec.Descriptor,

0 commit comments

Comments
 (0)