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 Jul 19, 2024
1 parent 4fe5f28 commit 30e9cfd
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 30e9cfd

Please sign in to comment.