Merge pull request #11688 from estesp/cp-11641

[release/2.0] backport: Set default differ for the default unpack config of transfer service
This commit is contained in:
Derek McGowan 2025-04-16 08:56:47 +08:00 committed by GitHub
commit ebd9a50325
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 0 deletions

View File

@ -21,4 +21,6 @@ const (
// This will be based on the client compilation target, so take that into
// account when choosing this value.
DefaultSnapshotter = "overlayfs"
// DefaultDiffer will set the default differ for the platform.
DefaultDiffer = "walking"
)

View File

@ -23,4 +23,6 @@ const (
// This will be based on the client compilation target, so take that into
// account when choosing this value.
DefaultSnapshotter = "native"
// 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,
},
}
}