Revision 3c7f6c44 lib/config.py
b/lib/config.py | ||
---|---|---|
84 | 84 |
# better to raise an error before starting to modify the config |
85 | 85 |
# file than after it was modified |
86 | 86 |
self._my_hostname = utils.HostInfo().name |
87 |
self._last_cluster_serial = -1 |
|
87 | 88 |
self._OpenConfig() |
88 | 89 |
|
89 | 90 |
# this method needs to be static, so that we can call it on the class |
... | ... | |
886 | 887 |
raise errors.ConfigurationError("Incomplete configuration" |
887 | 888 |
" (missing cluster.rsahostkeypub)") |
888 | 889 |
self._config_data = data |
889 |
# init the last serial as -1 so that the next write will cause
|
|
890 |
# reset the last serial as -1 so that the next write will cause
|
|
890 | 891 |
# ssconf update |
891 | 892 |
self._last_cluster_serial = -1 |
892 | 893 |
|
Also available in: Unified diff