Fix containerd on windows.

Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
Lantao Liu 2019-08-02 23:18:35 -07:00
parent f0821348b4
commit bb99688914
2 changed files with 3 additions and 3 deletions

View File

@ -1,3 +1,5 @@
// +build !windows
/* /*
Copyright The containerd Authors. Copyright The containerd Authors.

View File

@ -1,4 +1,4 @@
// +build ignore // +build windows
/* /*
Copyright The containerd Authors. Copyright The containerd Authors.
@ -23,8 +23,6 @@ import (
"github.com/containerd/containerd/runtime" "github.com/containerd/containerd/runtime"
) )
// TODO: JTERRY75 - When Windows V1 runtime is removed change this to only build
// on Windows.
var tasksServiceRequires = []plugin.Type{ var tasksServiceRequires = []plugin.Type{
plugin.RuntimePluginV2, plugin.RuntimePluginV2,
plugin.MetadataPlugin, plugin.MetadataPlugin,