containerd/runtime
Georgi Sabev 7451dd1ed1 Return GRPC not found error instead of plain one
When the shim returns a plain error when a process does not exist,
the server is unable to recognise its GRPC status code and assumes
UnknownError. This is awkward for containerd client users as they are
unable to recognise the actual reason for the error.

When the shim returns a NotFound GRPC error, it is properly translated
by the server and clients receive a proper NotFound error instead of
Unknown

Please note that we (CF Garden) would like to have the eventual fix backported to 1.4 as well.

Co-authored-by: Danail Branekov <danailster@gmail.com>

Signed-off-by: Danail Branekov <danailster@gmail.com>
Signed-off-by: Georgi Sabev <georgethebeatle@gmail.com>
2020-12-18 15:33:48 +02:00
..
linux/runctypes vendor protobuf & grpc 2020-02-26 10:57:05 +09:00
opts support cgroup2 2019-12-12 02:56:51 +09:00
restart restart: allow passing existing log URI object 2020-12-12 05:11:03 +09:00
v1 Merge pull request from GHSA-36xw-fx78-c5r4 2020-11-30 10:32:18 -08:00
v2 Return GRPC not found error instead of plain one 2020-12-18 15:33:48 +02:00
events.go Licence header added 2018-02-19 10:32:26 +09:00
io.go Cleanup open pipes if logging binary fails to start 2020-09-10 20:06:51 -07:00
monitor.go Licence header added 2018-02-19 10:32:26 +09:00
runtime.go runtime: add Add/Delete method in PlatformRuntime interface 2018-12-29 13:56:38 +08:00
task_list.go Runtime v2 2018-07-17 10:21:29 -04:00
task.go Add annotations to task update request api 2020-11-09 14:13:33 -08:00
typeurl.go Licence header added 2018-02-19 10:32:26 +09:00