Skip to content

Commit bb99688

Browse files
committed
Fix containerd on windows.
Signed-off-by: Lantao Liu <[email protected]>
1 parent f082134 commit bb99688

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

services/tasks/local_unix.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// +build !windows
2+
13
/*
24
Copyright The containerd Authors.
35

services/tasks/local_windows.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// +build ignore
1+
// +build windows
22

33
/*
44
Copyright The containerd Authors.
@@ -23,8 +23,6 @@ import (
2323
"github.com/containerd/containerd/runtime"
2424
)
2525

26-
// TODO: JTERRY75 - When Windows V1 runtime is removed change this to only build
27-
// on Windows.
2826
var tasksServiceRequires = []plugin.Type{
2927
plugin.RuntimePluginV2,
3028
plugin.MetadataPlugin,

0 commit comments

Comments
 (0)