Skip to content

Commit

Permalink
fix(connections) Harden adding /gms to connections in backend (datahu…
Browse files Browse the repository at this point in the history
  • Loading branch information
chriscollins3456 authored and aviv-julienjehannet committed Jul 25, 2024
1 parent 5150d16 commit 7c97a9c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions metadata-ingestion/src/datahub/cli/cli_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -629,6 +629,9 @@ def _ensure_valid_gms_url_acryl_cloud(url: str) -> str:
url = url.replace("http://", "https://")
if url.endswith("acryl.io"):
url = f"{url}/gms"
elif url.endswith("acryl.io/"):
url = f"{url}gms"

return url


Expand Down

0 comments on commit 7c97a9c

Please sign in to comment.