From 9c7eb13079e65100b69b41536a51d2433b05637b Mon Sep 17 00:00:00 2001 From: Fabricio Voznika Date: Sun, 30 Sep 2018 22:21:34 -0700 Subject: Removed duplicate/stale TODOs PiperOrigin-RevId: 215162121 Change-Id: I35f06ac3235cf31c9e8a158dcf6261a7ded6c4c4 --- runsc/cmd/kill.go | 2 -- runsc/container/container.go | 1 - 2 files changed, 3 deletions(-) (limited to 'runsc') 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) } -- cgit v1.2.3