Revision a21440d8 tools/cfgupgrade
b/tools/cfgupgrade | ||
---|---|---|
413 | 413 |
|
414 | 414 |
def DowngradeInstances(config_data): |
415 | 415 |
instances = config_data.get("instances", None) |
416 |
if not instances:
|
|
416 |
if instances is None:
|
|
417 | 417 |
raise Error("Cannot find the 'instances' key in the configuration") |
418 | 418 |
for (_, iobj) in instances.items(): |
419 | 419 |
if "osparams_private" in iobj: |
Also available in: Unified diff