Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
macvlan cmdDel: replace the loadConf function with json.unmarshal
We call the loadConf function in cmDel just for ipam, So we just replace loadConf with json.unmarshal, which would be simpler. This also fixes the issue that when the pod's NIC is accidentally deleted, we should return nil to the runtime instead of LinkNotFound error. Signed-off-by: cyclinder <[email protected]>
- Loading branch information