9
0
Fork 0

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

This commit is contained in:
Lauri Võsandi 2022-10-18 09:13:53 +03:00
parent e13ef93836
commit 7058855cfe
1 changed files with 2 additions and 1 deletions

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