diff options
Diffstat (limited to 'runsc')
-rw-r--r-- | runsc/cmd/kill.go | 2 | ||||
-rw-r--r-- | runsc/container/container.go | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/runsc/cmd/kill.go b/runsc/cmd/kill.go index af709bc71..dcb2988e3 100644 --- a/runsc/cmd/kill.go +++ b/runsc/cmd/kill.go @@ -80,8 +80,6 @@ func (k *Kill) Execute(_ context.Context, f *flag.FlagSet, args ...interface{}) if err != nil { Fatalf("%v", err) } - // TODO: Distinguish between already-exited containers and - // genuine errors. if err := c.Signal(sig, k.all); err != nil { Fatalf("%v", err) } diff --git a/runsc/container/container.go b/runsc/container/container.go index e09ed9347..b39d6bf12 100644 --- a/runsc/container/container.go +++ b/runsc/container/container.go @@ -483,7 +483,6 @@ func (c *Container) Signal(sig syscall.Signal, all bool) error { if !c.isSandboxRunning() { return fmt.Errorf("container is not running") } - // TODO: Query the container for its state, then save it. return c.Sandbox.Signal(c.ID, sig, all) } |