Commit 29d7fc03 authored by Julien Muchembled's avatar Julien Muchembled

Fix restart when json network parameters change

parent 20f89677
...@@ -133,8 +133,8 @@ class Cache(object): ...@@ -133,8 +133,8 @@ 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 for k, v in config.iteritems() return [k.rstrip(':json') for k, v in config.iteritems()
if k not in old or old[k] != v] 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