Skip to content

Commit 84d9658

Browse files
henry118estesp
authored andcommitted
Set default differ for the default unpack config of transfer service
Signed-off-by: Henry Wang <[email protected]> (cherry picked from commit a083b66)
1 parent 9e97c2e commit 84d9658

3 files changed

Lines changed: 5 additions & 0 deletions

File tree

defaults/defaults_snapshotter_linux.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,6 @@ const (
2121
// This will be based on the client compilation target, so take that into
2222
// account when choosing this value.
2323
DefaultSnapshotter = "overlayfs"
24+
// DefaultDiffer will set the default differ for the platform.
25+
DefaultDiffer = "walking"
2426
)

defaults/defaults_snapshotter_unix.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,6 @@ const (
2323
// This will be based on the client compilation target, so take that into
2424
// account when choosing this value.
2525
DefaultSnapshotter = "native"
26+
// DefaultDiffer will set the default differ for the platform.
27+
DefaultDiffer = "walking"
2628
)

plugins/transfer/plugin_defaults_other.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ func defaultUnpackConfig() []unpackConfiguration {
2828
{
2929
Platform: platforms.Format(platforms.DefaultSpec()),
3030
Snapshotter: defaults.DefaultSnapshotter,
31+
Differ: defaults.DefaultDiffer,
3132
},
3233
}
3334
}

0 commit comments

Comments
 (0)