moby/libnetwork/drivers/ipvlan
Cory Snider 427101f656 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 #44925

Signed-off-by: Cory Snider <csnider@mirantis.com>
(cherry picked from commit 91725ddc92)
Signed-off-by: Cory Snider <csnider@mirantis.com>
2023-02-06 18:16:21 -05:00
..
ivmanager Fix libnetwork imports 2021-06-01 21:51:23 +00:00
ipvlan.go drivers/ipvlan: add ipvlan_flag option, support l3s ipvlan_mode 2022-06-28 19:28:49 +08:00
ipvlan_endpoint.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
ipvlan_joinleave.go drivers/ipvlan: add ipvlan_flag option, support l3s ipvlan_mode 2022-06-28 19:28:49 +08:00
ipvlan_network.go drivers/ipvlan: add ipvlan_flag option, support l3s ipvlan_mode 2022-06-28 19:28:49 +08:00
ipvlan_setup.go drivers/ipvlan: add ipvlan_flag option, support l3s ipvlan_mode 2022-06-28 19:28:49 +08:00
ipvlan_setup_test.go drivers/ipvlan: add ipvlan_flag option, support l3s ipvlan_mode 2022-06-28 19:28:49 +08:00
ipvlan_state.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
ipvlan_store.go libnet/d/ipvlan: gracefully migrate from older dbs 2023-02-06 18:16:21 -05:00
ipvlan_test.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00