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:
commit
ebd9a50325
@ -21,4 +21,6 @@ const (
|
|||||||
// This will be based on the client compilation target, so take that into
|
// This will be based on the client compilation target, so take that into
|
||||||
// account when choosing this value.
|
// account when choosing this value.
|
||||||
DefaultSnapshotter = "overlayfs"
|
DefaultSnapshotter = "overlayfs"
|
||||||
|
// DefaultDiffer will set the default differ for the platform.
|
||||||
|
DefaultDiffer = "walking"
|
||||||
)
|
)
|
||||||
|
@ -23,4 +23,6 @@ const (
|
|||||||
// This will be based on the client compilation target, so take that into
|
// This will be based on the client compilation target, so take that into
|
||||||
// account when choosing this value.
|
// account when choosing this value.
|
||||||
DefaultSnapshotter = "native"
|
DefaultSnapshotter = "native"
|
||||||
|
// DefaultDiffer will set the default differ for the platform.
|
||||||
|
DefaultDiffer = "walking"
|
||||||
)
|
)
|
||||||
|
@ -28,6 +28,7 @@ func defaultUnpackConfig() []unpackConfiguration {
|
|||||||
{
|
{
|
||||||
Platform: platforms.Format(platforms.DefaultSpec()),
|
Platform: platforms.Format(platforms.DefaultSpec()),
|
||||||
Snapshotter: defaults.DefaultSnapshotter,
|
Snapshotter: defaults.DefaultSnapshotter,
|
||||||
|
Differ: defaults.DefaultDiffer,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user