aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libpod/networking.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/libpod/networking.go b/libpod/networking.go
index 456830708..6e82cba3f 100644
--- a/libpod/networking.go
+++ b/libpod/networking.go
@@ -38,7 +38,8 @@ func (r *Runtime) createNetNS(ctr *Container) (err error) {
podNetwork := getPodNetwork(ctr.ID(), ctr.Name(), ctrNS.Path(), ctr.config.PortMappings)
- if err := r.netPlugin.SetUpPod(podNetwork); err != nil {
+ _, err := r.netPlugin.SetUpPod(podNetwork)
+ if err != nil {
return errors.Wrapf(err, "error configuring network namespace for container %s", ctr.ID())
}