Skip to content
Snippets Groups Projects
Commit 3448aa22 authored by Iustin Pop's avatar Iustin Pop
Browse files

watcher: fix checking of boot IDs

The recent change (commit 2151) to the watcher to make it handle offline
nodes also saves the offline attribute to the state file, but this is
not needed and also breaks the checking of the boot ID. This patch
simply removes it, restoring the correct behaviour.

Reviewed-by: imsnah
parent f07521e5
No related branches found
No related tags found
No related merge requests found
......@@ -340,7 +340,7 @@ class Watcher(object):
# Keep changed boot IDs
for name in check_nodes:
notepad.SetNodeBootID(name, self.bootids[name])
notepad.SetNodeBootID(name, self.bootids[name][0])
def CheckInstances(self, notepad):
"""Make a pass over the list of instances, restarting downed ones.
......
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