From b42a2a32038a8d9098d94c0435fe99e1e2b9a7f2 Mon Sep 17 00:00:00 2001 From: Kevin Krakauer Date: Mon, 29 Oct 2018 10:30:58 -0700 Subject: Removes outdated TODO. PiperOrigin-RevId: 219151173 Change-Id: I73014ea648ae485692ea0d44860c87f4365055cb --- runsc/boot/loader.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/runsc/boot/loader.go b/runsc/boot/loader.go index fa3de0133..abb347835 100644 --- a/runsc/boot/loader.go +++ b/runsc/boot/loader.go @@ -668,13 +668,6 @@ func (l *Loader) waitContainer(cid string, waitStatus *uint32) error { } func (l *Loader) waitPID(tgid kernel.ThreadID, cid string, clearStatus bool, waitStatus *uint32) error { - // TODO: Containers all currently share a PID namespace. - // When per-container PID namespaces are supported, wait should use cid - // to find the appropriate PID namespace. - /*if cid != l.sandboxID { - return errors.New("non-sandbox PID namespaces are not yet implemented") - }*/ - // If the process was started via runsc exec, it will have an // entry in l.processes. l.mu.Lock() -- cgit v1.2.3