Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macvlan cmdDel: replace the loadConf function with json.unmarshal #954

Merged
merged 1 commit into from
Nov 16, 2023

Commits on Oct 17, 2023

  1. macvlan cmdDel: replace the loadConf function with json.unmarshal

    When the master interface on the node has been deleted, and loadConf tries
    to get the MTU, This causes cmdDel to return a linkNotFound error to the
    runtime. The cmdDel only needs to unmarshal the netConf. No need to
    get the MTU. So we just replaced the loadConf function with
    json.unmarshal in cmdDel.
    
    Signed-off-by: cyclinder <qifeng.guo@daocloud.io>
    cyclinder committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    845ef62 View commit details
    Browse the repository at this point in the history