diff options
author | Kevin Krakauer <krakauer@google.com> | 2018-09-05 21:13:46 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-09-05 21:14:56 -0700 |
commit | 8f0b6e7fc02919df034dea9e9c9dbab1b80de2be (patch) | |
tree | 3b63f5fd4a8c66c00fe1b0cb488f6802d75e5d26 /runsc/container/container.go | |
parent | 156b49ca85be7602ec034167767f0d0bfedf2be5 (diff) |
runsc: Support runsc kill multi-container.
Now, we can kill individual containers rather than the entire sandbox.
PiperOrigin-RevId: 211748106
Change-Id: Ic97e91db33d53782f838338c4a6d0aab7a313ead
Diffstat (limited to 'runsc/container/container.go')
-rw-r--r-- | runsc/container/container.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runsc/container/container.go b/runsc/container/container.go index a4a3ed56d..5977fbd21 100644 --- a/runsc/container/container.go +++ b/runsc/container/container.go @@ -427,6 +427,7 @@ func (c *Container) Signal(sig syscall.Signal) error { log.Warningf("container %q not running, not sending signal %v", c.ID, sig) return nil } + // TODO: Query the container for its state, then save it. return c.Sandbox.Signal(c.ID, sig) } |