Skip to content
Snippets Groups Projects
Commit 4f1e7fb2 authored by Stéphane Diemer's avatar Stéphane Diemer
Browse files

Fix worker test if IP is 127.0.0.1.

parent 0b4d926b
No related branches found
No related tags found
No related merge requests found
...@@ -109,7 +109,7 @@ mediaserver_ip = conf.get('NETWORK_IP') ...@@ -109,7 +109,7 @@ mediaserver_ip = conf.get('NETWORK_IP')
worker_ips = conf.get('CELERITY_WORKER_IP') worker_ips = conf.get('CELERITY_WORKER_IP')
for worker_ip in worker_ips.split(','): for worker_ip in worker_ips.split(','):
worker_ip = worker_ip.strip() worker_ip = worker_ip.strip()
if worker_ip and worker_ip != '127.0.1.1' and worker_ip != mediaserver_ip: if worker_ip and not worker_ip.startswith('127.0.') and worker_ip != mediaserver_ip:
tested = True tested = True
if not check_ssh(worker_ip): if not check_ssh(worker_ip):
all_ok = False all_ok = False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment