summaryrefslogtreecommitdiffhomepage
path: root/runsc/sandbox/network.go
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2020-07-08 15:46:25 -0700
committergVisor bot <gvisor-bot@google.com>2020-07-08 15:48:01 -0700
commita75d9f7bee72b9d7611cb015e473ac0bed3d9b02 (patch)
tree42db83dff3260b9c1c2fb2363e9bf71d41a56572 /runsc/sandbox/network.go
parentf3fa43cf237109c1e1cb0cf7ba63bb793cc2ff1f (diff)
Drop empty line
PiperOrigin-RevId: 320281516
Diffstat (limited to 'runsc/sandbox/network.go')
-rw-r--r--runsc/sandbox/network.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/runsc/sandbox/network.go b/runsc/sandbox/network.go
index deee619f3..817a923ad 100644
--- a/runsc/sandbox/network.go
+++ b/runsc/sandbox/network.go
@@ -134,7 +134,6 @@ func createInterfacesAndRoutesFromNS(conn *urpc.Client, nsPath string, hardwareG
return err
}
if isRoot {
-
return fmt.Errorf("cannot run with network enabled in root network namespace")
}