fixed bug in error log statement

This commit is contained in:
Joachim Lusiardi 2016-12-31 19:51:49 +01:00
parent 67267a6e75
commit c0c94fa75a
1 changed files with 1 additions and 1 deletions

View File

@ -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')