fixed bug in error log statement
This commit is contained in:
parent
67267a6e75
commit
c0c94fa75a
|
@ -110,7 +110,7 @@ def handle_container(id):
|
||||||
for env_key in env_vars:
|
for env_key in env_vars:
|
||||||
env_data = env_vars[env_key]
|
env_data = env_vars[env_key]
|
||||||
if not check_proxy_data_format(env_data):
|
if not check_proxy_data_format(env_data):
|
||||||
logging.info('cannot handle container with id "%s" named "%s": %s', id, extract_name(inspect_data), env_var)
|
logging.info('cannot handle container with id "%s" named "%s": %s', id, extract_name(inspect_data), env_data)
|
||||||
return
|
return
|
||||||
proxy_data = analyse_proxy_data(env_data)
|
proxy_data = analyse_proxy_data(env_data)
|
||||||
container_listen_ip = get_if_available(proxy_data, 'ip', '0.0.0.0')
|
container_listen_ip = get_if_available(proxy_data, 'ip', '0.0.0.0')
|
||||||
|
|
Loading…
Reference in New Issue