diff --git a/services/tasks/local_unix.go b/services/tasks/local_unix.go index 9469d8dce..3818e9282 100644 --- a/services/tasks/local_unix.go +++ b/services/tasks/local_unix.go @@ -1,3 +1,5 @@ +// +build !windows + /* Copyright The containerd Authors. diff --git a/services/tasks/local_windows.go b/services/tasks/local_windows.go index 2194e3416..d12f9e470 100644 --- a/services/tasks/local_windows.go +++ b/services/tasks/local_windows.go @@ -1,4 +1,4 @@ -// +build ignore +// +build windows /* Copyright The containerd Authors. @@ -23,8 +23,6 @@ import ( "github.com/containerd/containerd/runtime" ) -// TODO: JTERRY75 - When Windows V1 runtime is removed change this to only build -// on Windows. var tasksServiceRequires = []plugin.Type{ plugin.RuntimePluginV2, plugin.MetadataPlugin,