Commit ee9516c8 authored by Guido Trotter's avatar Guido Trotter
Browse files

ConfigData: run UpgradeConfig on network objects



Although this does nothing for now, running it is safe, and consistent
with how other objects behave.
Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 5ba35653
......@@ -499,6 +499,8 @@ class ConfigData(ConfigObject):
self.cluster.drbd_usermode_helper = constants.DEFAULT_DRBD_HELPER
if self.networks is None:
self.networks = {}
for network in self.networks.values():
network.UpgradeConfig()
class NIC(ConfigObject):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment