Merge pull request #3485 from Random-Liu/fix-containerd-on-windows

Fix containerd on windows.
This commit is contained in:
Derek McGowan 2019-08-04 23:04:51 -07:00 committed by GitHub
commit ca2463a719
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -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,