X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=utils%2Ftest%2Fscripts%2Fmongo_to_elasticsearch.py;fp=utils%2Ftest%2Fscripts%2Fmongo_to_elasticsearch.py;h=53732579a2852a80fe559862b1d7f46e2078234a;hb=643ba463e51a2cd689228a6c12c69c95ca757712;hp=51b6913f7e87b8fa8f1329b1f1f968a4097d6c2c;hpb=ad1e7d2a89db7a0b2f29208850f12eca644a9902;p=releng.git 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)