mirror of
https://github.com/containerd/containerd.git
synced 2026-11-06 05:17:02 +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:
1 parent
b22a302a75
commit
a083b669c9
3 files changed
+5
No files matched your search
@@ -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