Skip to content
This repository was archived by the owner on Dec 12, 2025. It is now read-only.

Commit c76460a

Browse files
author
Rodrigo Valin
authored
Fixes query to find existing releases. (#555)
1 parent 70f7499 commit c76460a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/ci/add_supported_release.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def add_release_version(image: str, version: str) -> None:
4646

4747
year_from_now = datetime.datetime.now() + datetime.timedelta(days=365)
4848

49-
existing_entry = collection.find_one({}, {"version": version})
49+
existing_entry = collection.find_one({"version": version})
5050
if existing_entry is not None:
5151
logging.info("Entry for version {} already present".format(version))
5252
return

0 commit comments

Comments
 (0)