summaryrefslogtreecommitdiffhomepage
path: root/runsc/sandbox
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-08-27 03:27:43 +0000
committergVisor bot <gvisor-bot@google.com>2020-08-27 03:27:43 +0000
commitd27124946910f6025ce8f248831e8c356579a6c2 (patch)
tree6ed37bb2e84981b40708a8604e46130b8fb14040 /runsc/sandbox
parent6f5bd2d5be4fe63533bee65ba0fa767a08bc3c3f (diff)
parent32e7a54f7f413ba83af8217b9bc0a367e3c30f94 (diff)
Merge release-20200818.0-66-g32e7a54f7 (automated)
Diffstat (limited to 'runsc/sandbox')
-rw-r--r--runsc/sandbox/network.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/sandbox/network.go b/runsc/sandbox/network.go
index f9abb2d44..0b9f39466 100644
--- a/runsc/sandbox/network.go
+++ b/runsc/sandbox/network.go
@@ -69,7 +69,7 @@ func setupNetwork(conn *urpc.Client, pid int, spec *specs.Spec, conf *config.Con
case config.NetworkHost:
// Nothing to do here.
default:
- return fmt.Errorf("invalid network type: %d", conf.Network)
+ return fmt.Errorf("invalid network type: %v", conf.Network)
}
return nil
}