Skip to content

Commit 5a6f50e

Browse files
committed
really return ok
1 parent 6121210 commit 5a6f50e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/indexWaiter/index_waiter.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ def handler(event, context):
5757
time.sleep(10)
5858
except Exception as exc:
5959
logger.error("Error creating or waiting for index", extra={"error": str(exc)})
60+
return {"PhysicalResourceId": f"{collection_name}/{index_name}", "Data": {"Status": "READY"}}
6061

6162
logger.error("Timeout waiting for index readiness", extra={"collection": collection_name, "index": index_name})
6263
raise Exception(f"Collection {collection_name} / Index {index_name} not ready after timeout")

0 commit comments

Comments
 (0)