summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2018-01-11 10:03:16 -0500
committerMatthew Heon <matthew.heon@gmail.com>2018-01-11 10:03:16 -0500
commit5bc4d1d315b69a7aff60b049434e716eaccdeb05 (patch)
treebcbc1301769c5fc13c6453e90d84bb73a700f913
parent444afa65c5faa07d384e021a387880d0b4699203 (diff)
downloadpodman-5bc4d1d315b69a7aff60b049434e716eaccdeb05.tar.gz
podman-5bc4d1d315b69a7aff60b049434e716eaccdeb05.tar.bz2
podman-5bc4d1d315b69a7aff60b049434e716eaccdeb05.zip
Fix build error after updating CNI vendor
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
-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())
}