summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-06-17 07:32:11 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-06-17 07:32:11 +0000
commit34a2816932cfd3ff5289a8f6e0128b3b416370b1 (patch)
tree326ad9293b9842b7c3b9c09e2832d237844316e2 /utils
parent7d2ba48c54ad2583080b3cad2302d928c44acdd0 (diff)
parent643ba463e51a2cd689228a6c12c69c95ca757712 (diff)
Merge "bugfix: wrong function call of publish_json in kibana scripts"
Diffstat (limited to 'utils')
-rw-r--r--utils/test/scripts/mongo_to_elasticsearch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/test/scripts/mongo_to_elasticsearch.py b/utils/test/scripts/mongo_to_elasticsearch.py
index 51b6913f7..53732579a 100644
--- a/utils/test/scripts/mongo_to_elasticsearch.py
+++ b/utils/test/scripts/mongo_to_elasticsearch.py
@@ -360,7 +360,7 @@ def publish_mongo_data(output_destination):
for mongo_json_line in fobj:
test_result = json.loads(mongo_json_line)
if modify_mongo_entry(test_result):
- shared_utils.publish_json(test_result, output_destination, es_user, es_passwd)
+ shared_utils.publish_json(test_result, es_user, es_passwd, output_destination)
finally:
if os.path.exists(tmp_filename):
os.remove(tmp_filename)