Revision 514dcbda tools/cfgupgrade
b/tools/cfgupgrade | ||
---|---|---|
410 | 410 |
if "osparams_private_cluster" in cluster: |
411 | 411 |
del cluster["osparams_private_cluster"] |
412 | 412 |
|
413 |
|
|
413 | 414 |
def DowngradeInstances(config_data): |
414 | 415 |
instances = config_data.get("instances", None) |
415 | 416 |
if not instances: |
... | ... | |
418 | 419 |
if "osparams_private" in iobj: |
419 | 420 |
del iobj["osparams_private"] |
420 | 421 |
|
422 |
|
|
421 | 423 |
def DowngradeAll(config_data): |
422 | 424 |
# Any code specific to a particular version should be labeled that way, so |
423 | 425 |
# it can be removed when updating to the next version. |
Also available in: Unified diff