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

[23.0 backport] libnet/d/ipvlan: gracefully migrate from older dbs #44937

Merged

Commits on Feb 6, 2023

  1. libnet/d/ipvlan: gracefully migrate from older dbs

    IPVLAN networks created on Moby v20.10 do not have the IpvlanFlag
    configuration value persisted in the libnetwork database as that config
    value did not exist before v23.0.0. Gracefully migrate configurations on
    unmarshal to prevent type-assertion panics at daemon start after upgrade.
    
    Fixes moby#44925
    
    Signed-off-by: Cory Snider <csnider@mirantis.com>
    (cherry picked from commit 91725dd)
    Signed-off-by: Cory Snider <csnider@mirantis.com>
    corhere committed Feb 6, 2023
    Configuration menu
    Copy the full SHA
    427101f View commit details
    Browse the repository at this point in the history