From c16e69a9d5ec3422b648a6d32842442925285a29 Mon Sep 17 00:00:00 2001 From: Fabricio Voznika Date: Tue, 13 Jul 2021 11:33:49 -0700 Subject: Use consistent naming for subcontainers It was confusing to find functions relating to root and non-root containers. Replace "non-root" and "subcontainer" and make naming consistent in Sandbox and controller. PiperOrigin-RevId: 384512518 --- pkg/shim/proc/exec.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pkg/shim/proc/exec.go') diff --git a/pkg/shim/proc/exec.go b/pkg/shim/proc/exec.go index e0f2ae6fa..da2e21598 100644 --- a/pkg/shim/proc/exec.go +++ b/pkg/shim/proc/exec.go @@ -113,7 +113,7 @@ func (e *execProcess) Delete(ctx context.Context) error { return e.execState.Delete(ctx) } -func (e *execProcess) delete() error { +func (e *execProcess) delete() { e.wg.Wait() if e.io != nil { for _, c := range e.closers { @@ -121,7 +121,6 @@ func (e *execProcess) delete() error { } e.io.Close() } - return nil } func (e *execProcess) Resize(ws console.WinSize) error { -- cgit v1.2.3