Skip to content
This repository has been archived by the owner on Feb 25, 2024. It is now read-only.

Commit

Permalink
Fix git clone when adding operator to make use of https instead of ss…
Browse files Browse the repository at this point in the history
…h. (#91)

Co-authored-by: mauricioalarcon <>
  • Loading branch information
mauricioalarcon committed Mar 3, 2022
1 parent 6402df7 commit 0861c46
Show file tree
Hide file tree
Showing 4 changed files with 125 additions and 90 deletions.
2 changes: 1 addition & 1 deletion bentoctl/operator/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def add(self, name):
else:
operator_repo = name
owner, repo, branch = _fetch_github_info(operator_repo)
git_url = f"git@github.com:{owner}/{repo}.git"
git_url = f"https://github.com/{owner}/{repo}.git"
git_branch = branch
content_path = _clone_git_repo(git_url, branch=branch)

Expand Down
Loading

0 comments on commit 0861c46

Please sign in to comment.