![]() If there is any unskipable error during setuping shim plugins, we should fail return error to prevent from leaky shim instance. For example, there is error during init task plugin, the shim ttrpc server will not contain any shim API method. The any call to the shim will receive that failed to create shim task: service containerd.task.v2.Task: not implemented Then containerd can't use `Shutdown` to let the shim close. The shim will be leaky. And also fail return if there is no ttrpc service. Signed-off-by: Wei Fu <fuweid89@gmail.com> |
||
---|---|---|
.. | ||
publisher.go | ||
shim_darwin.go | ||
shim_freebsd.go | ||
shim_linux.go | ||
shim_test.go | ||
shim_unix.go | ||
shim_windows.go | ||
shim.go | ||
util_test.go | ||
util_unix.go | ||
util_windows.go | ||
util.go |