moby/libnetwork/drivers
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
..
bridge libnetwork: fix empty-lines (revive) 2023-01-18 21:24:32 +01:00
host libnetwork: remove unused "testutils" imports 2021-08-18 14:20:37 +02:00
ipvlan libnet/d/ipvlan: gracefully migrate from older dbs 2023-02-06 18:16:21 -05:00
macvlan libnetwork: fix empty-lines (revive) 2023-01-18 21:24:32 +01:00
null libnetwork: remove unused "testutils" imports 2021-08-18 14:20:37 +02:00
overlay libnetwork: fix empty-lines (revive) 2023-01-18 21:24:32 +01:00
remote refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
windows Set ExternalPortReserved for dummy proxy 2022-05-25 07:12:43 -07:00