mirror of
https://github.com/containers/podman.git
synced 2025-10-18 19:53:58 +08:00
vendor: update github.com/containernetworking/cni to v0.7.2-0.20200304161608-4fae32b84921
Specifically to get: https://github.com/containernetworking/cni/pull/735 6f29b0165883b2b52ccd4dcb937162ea4c86927b intercept netplugin std err But also pulls in some interface name validation and a compatibility fix for configurations that don't set a CNI version. Signed-off-by: Dan Williams <dcbw@redhat.com>
This commit is contained in:
@ -117,10 +117,10 @@ func (r *Runtime) configureNetNS(ctr *Container, ctrNS ns.NetNS) ([]*cnitypes.Re
|
||||
|
||||
networkStatus := make([]*cnitypes.Result, 0)
|
||||
for idx, r := range results {
|
||||
logrus.Debugf("[%d] CNI result: %v", idx, r.Result.String())
|
||||
logrus.Debugf("[%d] CNI result: %v", idx, r.Result)
|
||||
resultCurrent, err := cnitypes.GetResult(r.Result)
|
||||
if err != nil {
|
||||
return nil, errors.Wrapf(err, "error parsing CNI plugin result %q: %v", r.Result.String(), err)
|
||||
return nil, errors.Wrapf(err, "error parsing CNI plugin result %q: %v", r.Result, err)
|
||||
}
|
||||
networkStatus = append(networkStatus, resultCurrent)
|
||||
}
|
||||
|
Reference in New Issue
Block a user