mirror of
https://github.com/containerd/containerd.git
synced 2026-06-24 08:48:48 +00:00
Set default differ for the default unpack config of transfer service
Signed-off-by: Henry Wang <henwang@amazon.com>
This commit is contained in:
@@ -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"
|
||||
)
|
||||
|
||||
@@ -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,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user