Commit f1e10a1c by Bach Dániel

firewall: fixes #146

parent e92e94bf
...@@ -51,7 +51,7 @@ class Periodic(PeriodicTask): ...@@ -51,7 +51,7 @@ class Periodic(PeriodicTask):
class ReloadTask(Task): class ReloadTask(Task):
def run(self, type='Host'): def run(self, type='Host'):
if type in ["Host", "Records", "Domain", "Vlan"]: if type in ["Host", "Record", "Domain", "Vlan"]:
cache.add("dns_lock", "true", 30) cache.add("dns_lock", "true", 30)
if type == "Host": if type == "Host":
......
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 sign in to comment