Kathryn Baldauf
95ba6e9f75
Add annotations to task update request api
...
Signed-off-by: Kathryn Baldauf <kabaldau@microsoft.com>
2020-11-09 14:13:33 -08:00
Sebastiaan van Stijn
dc92ad6520
Replace errors.Cause() with errors.Is()
...
Dependencies may be switching to use the new `%w` formatting
option to wrap errors; switching to use `errors.Is()` makes
sure that we are still able to unwrap the error and detect the
underlying cause.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-05-08 14:36:45 +02:00
Lantao Liu
ffcb1cc9be
Fix delete error code on the containerd daemon side.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-10-09 00:28:51 -07:00
Michael Crosby
eb4b3e8772
Fast path getting pid from task
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-07-26 17:48:00 +00:00
Akihiro Suda
fab016c7a1
runtime/v1/linux: ignore ErrCgroupDeleted in Task.Start
...
Fix a Rootless Docker-in-Docker issue on Fedora 30: https://github.com/docker-library/docker/pull/165#issuecomment-511717143
Related: #1598
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2019-07-17 12:19:15 +09:00
Lantao Liu
dff7456804
Return NotFound error for kill and delete in deleted state.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-04-26 15:17:18 -07:00
yanxuean
517930187e
remove useless parameter from newTask
...
Signed-off-by: yanxuean <yan.xuean@zte.com.cn>
2018-09-04 10:59:00 +08:00
Michael Crosby
da1b5470cd
Runtime v2
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2018-07-17 10:21:29 -04:00