Skip to content

Commit e00d7e1

Browse files
committed
Remove lower constrains for opensearch-py
We can remove the lower constrains that is needed by urllib3 to install newer libraries. Change-Id: I9e1de63698162c13db63c3ba23f3a38fcac136eb Signed-off-by: Daniel Pawlik <dpawlik@redhat.com>
1 parent e15e873 commit e00d7e1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

logscraper/logsender.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ def create_indices(index, args):
597597
es_client = get_es_client(args)
598598
try:
599599
logging.info("Creating index %s" % index)
600-
return es_client.indices.create(index)
600+
return es_client.indices.create(index=index)
601601
except opensearch_exceptions.AuthorizationException:
602602
logging.critical("You need to have permissions to create an index. "
603603
"Probably you need to add [indices:admin/create] or "

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ pbr>=1.6 # Apache-2.0
22
requests>=2.32.3 # Apache-2.0
33
PyYAML # MIT
44
tenacity
5-
opensearch-py<=1.0.0 # Apache-2.0
5+
opensearch-py # Apache-2.0
66
ruamel.yaml
77
prometheus_client
88
subunit2sql

0 commit comments

Comments
 (0)