Commit 73314e4d authored by Julien Muchembled's avatar Julien Muchembled

Fix automatic restart on network parameter change for some parameters

parent b5b52dc8
...@@ -133,8 +133,9 @@ class Cache(object): ...@@ -133,8 +133,9 @@ class Cache(object):
((k, buffer(v) if k in base64 else v) ((k, buffer(v) if k in base64 else v)
for k, v in config.iteritems())) for k, v in config.iteritems()))
self._loadConfig(config.iteritems()) self._loadConfig(config.iteritems())
return [k.rstrip(':json') for k, v in config.iteritems() return [k[:-5] if k.endswith(':json') else k
if k not in old or old[k] != v] for k, v in config.iteritems()
if k not in old or old[k] != v]
def warnProtocol(self): def warnProtocol(self):
if version.protocol < self.protocol: if version.protocol < self.protocol:
......
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