Merge pull request #350 from Phrozyn/master

corrected typo in mq/plugins/fluentdSqsFixup.py
This commit is contained in:
Jeff Bryner 2016-06-28 20:51:09 -07:00 коммит произвёл GitHub
Родитель 1ae54e25f6 58a31fdc3c
Коммит d9afcb288b
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -73,8 +73,8 @@ class message(object):
if 'destinationipv4address' not in details.keys():
details['destinationipv4address'] = ipText
else:
details['destionationipaddress'] = '0.0.0.0'
details['destionationipv4address'] = '0.0.0.0'
details['destinationipaddress'] = '0.0.0.0'
details['destinationipv4address'] = '0.0.0.0'
addError(message, 'plugin: {0} error: {1}:{2}'.format('fluentSqsFixUp.py', 'destinationipaddress is invalid', ipText))
if not 'hostname' in message.keys(): message['hostname'] = tmp