Skip to content

Commit 8ab8401

Browse files
committed
use correct params
1 parent d2aeadf commit 8ab8401

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/indexWaiter/index_waiter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def handler(event, context):
3737
continue
3838

3939
# 2. Check index
40-
idx_resp = aoss.get_index(names=[index_name], collectionName=collection_name)
40+
idx_resp = aoss.get_index(indexName=index_name, id=coll.id)
4141
idx = next((i for i in idx_resp.get("indexDetails", []) if i["name"] == index_name), None)
4242

4343
if not idx:

0 commit comments

Comments
 (0)