Fix cornercase handling for primary
continuous-integration/drone Build was killed

This commit is contained in:
2022-10-18 09:13:53 +03:00
parent e13ef93836
commit 7058855cfe
+2 -1
View File
@@ -30,7 +30,8 @@ active_zones = set()
def update_config():
master = socket.gethostbyname("bind-primary")
master = socket.gethostbyname("bind-primary") if args.replica else None
with open(PATH_CONFIG + ".part", "w") as fh:
for zone in active_zones:
path = PATH_ZONEFILE % zone