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
2025-04-01 21:56:08 +00:00
parent b22a302a75
commit a083b669c9
3 changed files with 5 additions and 0 deletions

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"
)

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"
)

View File

@@ -28,6 +28,7 @@ func defaultUnpackConfig() []unpackConfiguration {
{
Platform: platforms.Format(platforms.DefaultSpec()),
Snapshotter: defaults.DefaultSnapshotter,
Differ: defaults.DefaultDiffer,
},
}
}