k8snetworkplumbingwg / ib-sriov-cni

InfiniBand SR-IOV CNI
Other
40 stars 27 forks source link

Return success if config is not found on DEL action #67

Closed almaslennikov closed 1 year ago

almaslennikov commented 1 year ago

According to the CNI spec, a DEL action should complete without errors even if there are some resources missing. For more details, see https://github.com/containernetworking/cni/blob/main/SPEC.md#del-remove-container-from-network-or-un-apply-modifications

Signed-off-by: amaslennikov amaslennikov@nvidia.com

adrianchiris commented 1 year ago

can you add in comment in commit message about the use-case where we were hitting the issue that required this change