Fix build error after updating CNI vendor

Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
This commit is contained in:
Matthew Heon 2018-01-11 10:03:16 -05:00
parent 444afa65c5
commit 5bc4d1d315
1 changed files with 2 additions and 1 deletions

View File

@ -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())
}