Skip to content

Commit

Permalink
[FEAT] using schema from proxy uri
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Takashi <[email protected]>
  • Loading branch information
nicolastakashi committed Feb 24, 2022
1 parent b95e3cc commit 499a0bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.4.0
1.4.1
2 changes: 1 addition & 1 deletion internal/gitmanager/gitmanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func (r *Repository) Get(ctx context.Context) (bool, error) {
Timeout: 300 * time.Second,
}

client.InstallProtocol("https", githttp.NewClient(customClient))
client.InstallProtocol(proxyUrl.Scheme, githttp.NewClient(customClient))
}

_, err := git.PlainCloneContext(ctx, r.Path, false, &git.CloneOptions{
Expand Down

0 comments on commit 499a0bb

Please sign in to comment.