summaryrefslogtreecommitdiffhomepage
path: root/runsc
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2018-09-30 22:21:34 -0700
committerShentubot <shentubot@google.com>2018-09-30 22:22:18 -0700
commit9c7eb13079e65100b69b41536a51d2433b05637b (patch)
treec6144574b82446aad94a293e1aa3e3193be18064 /runsc
parent50c283b9f56bb7200938d9e207355f05f79f0d17 (diff)
Removed duplicate/stale TODOs
PiperOrigin-RevId: 215162121 Change-Id: I35f06ac3235cf31c9e8a158dcf6261a7ded6c4c4
Diffstat (limited to 'runsc')
-rw-r--r--runsc/cmd/kill.go2
-rw-r--r--runsc/container/container.go1
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)
}