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

Fix automatic restart on network parameter change for some parameters

parent b5b52dc8
......@@ -133,7 +133,8 @@ class Cache(object):
((k, buffer(v) if k in base64 else v)
for k, v in 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
for k, v in config.iteritems()
if k not in old or old[k] != v]
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