From 5cb6c6f5b80e71e77b75e0044d2f45c5370f8442 Mon Sep 17 00:00:00 2001 From: Augustin Date: Sat, 7 Sep 2024 15:15:43 +0200 Subject: [PATCH] metadata-service[orchestrator]: fix apply connector releases (#45256) --- .../orchestrator/orchestrator/assets/registry_entry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airbyte-ci/connectors/metadata_service/orchestrator/orchestrator/assets/registry_entry.py b/airbyte-ci/connectors/metadata_service/orchestrator/orchestrator/assets/registry_entry.py index c5f8bdfe3044..77cdf03c0029 100644 --- a/airbyte-ci/connectors/metadata_service/orchestrator/orchestrator/assets/registry_entry.py +++ b/airbyte-ci/connectors/metadata_service/orchestrator/orchestrator/assets/registry_entry.py @@ -113,7 +113,7 @@ def apply_connector_releases(metadata: dict) -> Optional[pd.DataFrame]: if releases is not None and releases.get("rolloutConfiguration"): final_registry_releases["rolloutConfiguration"] = metadata["releases"]["rolloutConfiguration"] - final_registry_releases["isReleaseCandidate"] = metadata.get("releases", {}).get("isReleaseCandidate", False) + final_registry_releases["isReleaseCandidate"] = False if releases is None else metadata["releases"].get("isReleaseCandidate", False) return final_registry_releases