mirror of https://github.com/containers/podman.git
Fix build error after updating CNI vendor
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
This commit is contained in:
parent
444afa65c5
commit
5bc4d1d315
|
@ -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())
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue