mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-24 17:59:52 +00:00
MINOR: Looker fix bitbucket protocol (#15604)
This commit is contained in:
parent
7036a7bb25
commit
ef61bdc3a8
@ -58,7 +58,7 @@ def _clone_repo(
|
||||
if isinstance(credential, GitHubCredentials):
|
||||
url = f"https://x-oauth-basic:{credential.token.__root__.get_secret_value()}@github.com/{repo_name}.git"
|
||||
elif isinstance(credential, BitBucketCredentials):
|
||||
url = f"https://x-token-auth::{credential.token.__root__.get_secret_value()}@bitbucket.org/{repo_name}.git"
|
||||
url = f"https://x-token-auth:{credential.token.__root__.get_secret_value()}@bitbucket.org/{repo_name}.git"
|
||||
allow_unsafe_protocols = True
|
||||
|
||||
assert url is not None
|
||||
|
Loading…
x
Reference in New Issue
Block a user