10
0

Fix cornercase handling for primary
Some checks reported errors
continuous-integration/drone Build was killed

This commit is contained in:
Lauri Võsandi 2022-10-18 09:13:53 +03:00
parent e13ef93836
commit 7058855cfe

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