Closed Luap99 closed 3 years ago
LGTM @baude @mheon @edsantiago PTAL
/lgtm
/approve
/approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: baude, Luap99, mheon
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Belated LGTM. Thank you @Luap99
According to the cni spec[1], a plugin should not return an error on del. If a plugin returns an error cni will not call the following plugins. Since the plugins are invoked in reverse order on del, the portmapping and bridge plugins won't get invoked and therefore leave iptables rules around.
Fixes #67 Fixes containers/podman#10806 Fixes containers/podman#10745
[1] https://github.com/containernetworking/cni/blob/master/SPEC.md#del-remove-container-from-network-or-un-apply-modifications