Merge "Fix log source issue of Public and Service category"

This commit is contained in:
Zuul 2018-08-16 02:23:12 +00:00 committed by Gerrit Code Review
commit 88c6342784

View File

@ -31,7 +31,7 @@ try:
if x.strip()]) if x.strip()])
def sanitize_ips(line_data): def sanitize_ips(line_data):
for x in ['lb_ip', 'client_ip', 'log_source']: for x in ['lb_ip', 'client_ip']:
if line_data[x] == '-': if line_data[x] == '-':
line_data[x] = '0.0.0.0' line_data[x] = '0.0.0.0'
except ImportError: except ImportError: