Removed duplicate/stale TODOs

PiperOrigin-RevId: 215162121
Change-Id: I35f06ac3235cf31c9e8a158dcf6261a7ded6c4c4
This commit is contained in:
Fabricio Voznika
2018-09-30 22:22:18 -07:00
committed by Shentubot
parent 50c283b9f5
commit 9c7eb13079
2 changed files with 0 additions and 3 deletions
-2
View File
@@ -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)
}
-1
View File
@@ -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)
}