We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3f44c9e + c3d3fc6 commit 848e3b4Copy full SHA for 848e3b4
cmd/ib-sriov-cni/main.go
@@ -298,7 +298,10 @@ func cmdDel(args *skel.CmdArgs) error {
298
299
netConf, cRefPath, err := config.LoadConfFromCache(args)
300
if err != nil {
301
- return err
+ // According to the CNI spec, a DEL action should complete without errors
302
+ // even if there are some resources missing. For more details, see
303
+ // https://github.com/containernetworking/cni/blob/main/SPEC.md#del-remove-container-from-network-or-un-apply-modifications
304
+ return nil
305
}
306
307
defer func() {
0 commit comments