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/cmd/kill.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/cmd/kill.go')
-rw-r--r-- | runsc/cmd/kill.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runsc/cmd/kill.go b/runsc/cmd/kill.go index 0979b002b..6fa5674f1 100644 --- a/runsc/cmd/kill.go +++ b/runsc/cmd/kill.go @@ -81,6 +81,8 @@ func (*Kill) Execute(_ context.Context, f *flag.FlagSet, args ...interface{}) su if err != nil { Fatalf("%v", err) } + // TODO: Distinguish between already-exited containers and + // genuine errors. if err := c.Signal(sig); err != nil { Fatalf("%v", err) } |