Commit 1c4cf8aa authored by Vincent Pelletier's avatar Vincent Pelletier

No need to preserve UUID across node resets.

The only case where UUID persistence matters is on storage nodes, and it
is already restored from database if available.
parent be0fdfce
...@@ -234,7 +234,6 @@ class ServerNode(Node): ...@@ -234,7 +234,6 @@ class ServerNode(Node):
def resetNode(self): def resetNode(self):
assert not self.isAlive() assert not self.isAlive()
kw = self._init_args kw = self._init_args
kw['getUUID'] = self.uuid
self.__dict__.clear() self.__dict__.clear()
self.__init__(**kw) self.__init__(**kw)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment