master: Fixed private ip reference
Some checks failed
Build Docker / Build Master (push) Successful in 40s
Build Docker / Build Bot (push) Failing after 17m41s

This commit is contained in:
Nathan Woodburn 2023-09-16 17:10:20 +10:00
parent d0ff839ff4
commit d19a121005
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -401,7 +401,7 @@ def workerIP_PRIV(worker):
ip = None
for line in workers_file.readlines():
if worker == line.split(':')[0]:
ip = line.split(':')[2].strip('\n')
ip = line.split(':')[1].strip('\n')
break
workers_file.close()
@ -419,7 +419,7 @@ def workerIP(worker):
ip = None
for line in workers_file.readlines():
if worker == line.split(':')[0]:
ip = line.split(':')[1].strip('\n')
ip = line.split(':')[2].strip('\n')
break
workers_file.close()