Skip to content

Commit

Permalink
metadata-service[orchestrator]: fix apply connector releases (#45256)
Browse files Browse the repository at this point in the history
  • Loading branch information
alafanechere authored Sep 7, 2024
1 parent 6fbab88 commit 5cb6c6f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 5cb6c6f

Please sign in to comment.