Remove v1 runctypes
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
This commit is contained in:
		| @@ -18,7 +18,6 @@ package tasks | ||||
|  | ||||
| import ( | ||||
| 	"github.com/containerd/containerd/plugin" | ||||
| 	"github.com/containerd/containerd/runtime" | ||||
| ) | ||||
|  | ||||
| var tasksServiceRequires = []plugin.Type{ | ||||
| @@ -27,8 +26,3 @@ var tasksServiceRequires = []plugin.Type{ | ||||
| 	plugin.MetadataPlugin, | ||||
| 	plugin.TaskMonitorPlugin, | ||||
| } | ||||
|  | ||||
| // loadV1Runtimes on Windows V2 returns an empty map. There are no v1 runtimes | ||||
| func loadV1Runtimes(ic *plugin.InitContext) (map[string]runtime.PlatformRuntime, error) { | ||||
| 	return make(map[string]runtime.PlatformRuntime), nil | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Maksym Pavlenko
					Maksym Pavlenko