Skip to content
Snippets Groups Projects
Commit 1fc34c48 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

config: Write ssconf after renaming instance


This fixes a bug where the ssconf_instance_list file was
not updated after an instance rename.

Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
parent 46f9a948
No related branches found
No related tags found
No related merge requests found
......@@ -995,6 +995,9 @@ class ConfigWriter:
inst.name,
disk.iv_name))
# Force update of ssconf files
self._config_data.cluster.serial_no += 1
self._config_data.instances[inst.name] = inst
self._WriteConfig()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment