mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Removed duplicate/stale TODOs
PiperOrigin-RevId: 215162121 Change-Id: I35f06ac3235cf31c9e8a158dcf6261a7ded6c4c4
This commit is contained in:
committed by
Shentubot
parent
50c283b9f5
commit
9c7eb13079
@@ -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)
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user