Skip to content

Commit f74e5ce

Browse files
committed
Move differ default to its own file
Signed-off-by: James Sturtevant <[email protected]>
1 parent 81409e9 commit f74e5ce

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

defaults/defaults_differ_windows.go

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/*
2+
Copyright The containerd Authors.
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
*/
16+
17+
package defaults
18+
19+
const (
20+
// DefaultDiffer will set the default differ for the platform.
21+
// This differ should be compatible with the windows snapshotter.
22+
DefaultDiffer = "windows"
23+
)

defaults/defaults_snapshotter_windows.go

-1
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,4 @@ const (
2121
// This will be based on the client compilation target, so take that into
2222
// account when choosing this value.
2323
DefaultSnapshotter = "windows"
24-
DefaultDiffer = "windows"
2524
)

0 commit comments

Comments
 (0)