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

Fix restart when json network parameters change

parent 20f89677
...@@ -133,7 +133,7 @@ class Cache(object): ...@@ -133,7 +133,7 @@ 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):
......
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