Set default differ for the default unpack config of transfer service

Signed-off-by: Henry Wang <henwang@amazon.com>
This commit is contained in:
Henry Wang committed 2025-04-01 22:39:49 +00:00
1 parent b22a302a75
commit a083b669c9
3 files changed
+5

No files matched your search

+2
View File
@@ -33,4 +33,6 @@ const (
// DefaultStateDir is the default location used by containerd to store
// transient data
DefaultStateDir = "/run/containerd"
// DefaultDiffer will set the default differ for the platform.
DefaultDiffer = "walking"
)
+2
View File
@@ -33,4 +33,6 @@ const (
// DefaultStateDir is the default location used by containerd to store
// transient data
DefaultStateDir = "/var/run/containerd"
// DefaultDiffer will set the default differ for the platform.
DefaultDiffer = "walking"
)
@@ -28,6 +28,7 @@ func defaultUnpackConfig() []unpackConfiguration {
{
Platform: platforms.Format(platforms.DefaultSpec()),
Snapshotter: defaults.DefaultSnapshotter,
Differ: defaults.DefaultDiffer,
},
}
}