Code Review
/
releng.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
refactor modify_mongo_entry of kibana_dashboard
[releng.git]
/
utils
/
test
/
scripts
/
shared_utils.py
diff --git
a/utils/test/scripts/shared_utils.py
b/utils/test/scripts/shared_utils.py
index
8bbbdbe
..
15c1af8
100644
(file)
--- a/
utils/test/scripts/shared_utils.py
+++ b/
utils/test/scripts/shared_utils.py
@@
-1,5
+1,7
@@
-import urllib3
import json
+
+import urllib3
+
http = urllib3.PoolManager()
@@
-36,4
+38,3
@@
def get_elastic_data(elastic_url, creds, body, field='_source'):
for hit in elastic_json['hits']['hits']:
elastic_data.append(hit[field])
return elastic_data
-