From bb9968891449193c8a074b1a97fe0e850092612d Mon Sep 17 00:00:00 2001 From: Lantao Liu Date: Fri, 2 Aug 2019 23:18:35 -0700 Subject: [PATCH] Fix containerd on windows. Signed-off-by: Lantao Liu --- services/tasks/local_unix.go | 2 ++ services/tasks/local_windows.go | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) 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,