cri-o/server
Samuel Ortiz 365c291f1a
server: Make RemovePodSandbox idempotent
And in particular make it not fail when removing an already removed
sandbox pod. According to the CRI spec:

  [RemovePodSandbox] is idempotent, and must not return an error if
  the sandbox has already been removed.

We now only print a warning instead of returning an error.
We still return an error when the passed pod ID is empty.

Fixes #240

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2016-12-08 10:40:14 +01:00
..
apparmor add apparmor build tag and update readme 2016-12-06 11:51:15 +08:00
seccomp *: add seccomp buildtag 2016-11-29 17:01:45 +01:00
config.go Make the profile configurable 2016-12-01 13:26:59 +08:00
container.go server: Export more container metadata for VM containers 2016-11-29 10:24:33 +01:00
container_attach.go server: split containers actions 2016-11-22 18:38:05 +01:00
container_create.go add apparmor build tag and update readme 2016-12-06 11:51:15 +08:00
container_exec.go server: split containers actions 2016-11-22 18:38:05 +01:00
container_execsync.go execsync: return proper error description 2016-11-24 12:11:04 +01:00
container_list.go server: fix ctr filter by truncated id 2016-12-06 12:16:34 +01:00
container_portforward.go server: split containers actions 2016-11-22 18:38:05 +01:00
container_remove.go server: split containers actions 2016-11-22 18:38:05 +01:00
container_start.go server: split containers actions 2016-11-22 18:38:05 +01:00
container_status.go server: split containers actions 2016-11-22 18:38:05 +01:00
container_stop.go server: sync ctr state before checking it 2016-12-06 12:39:38 +01:00
container_updateruntimeconfig.go server: split containers actions 2016-11-22 18:38:05 +01:00
image_list.go server: split images actions 2016-11-22 23:05:37 +01:00
image_pull.go server: split images actions 2016-11-22 23:05:37 +01:00
image_remove.go server: split images actions 2016-11-22 23:05:37 +01:00
image_status.go server: split images actions 2016-11-22 23:05:37 +01:00
runtime_status.go server: split containers actions 2016-11-22 18:38:05 +01:00
sandbox.go server: Make RemovePodSandbox idempotent 2016-12-08 10:40:14 +01:00
sandbox_list.go server: fix pod filter by truncated id 2016-12-06 12:16:30 +01:00
sandbox_remove.go server: Make RemovePodSandbox idempotent 2016-12-08 10:40:14 +01:00
sandbox_run.go server: Export more container metadata for VM containers 2016-11-29 10:24:33 +01:00
sandbox_status.go server: split sandboxes actions 2016-11-22 23:23:01 +01:00
sandbox_stop.go Merge pull request #236 from runcom/check-netns-on-stop 2016-12-06 10:06:46 -08:00
server.go Make the profile configurable 2016-12-01 13:26:59 +08:00
utils.go add default apparmor profile 2016-12-01 13:26:59 +08:00
version.go version: Fix parsing for gRPC version 2016-11-15 09:26:11 +01:00