X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/7da8eaf51a23ab23369b6e65f0634448cc4aeb3b..418c57bce3aac1a22548e53e1018a1547d9efee4:/services/crunch-run/git_mount.go diff --git a/services/crunch-run/git_mount.go b/services/crunch-run/git_mount.go index 92b83710b1..2ecc8726f5 100644 --- a/services/crunch-run/git_mount.go +++ b/services/crunch-run/git_mount.go @@ -8,7 +8,7 @@ import ( "regexp" "git.curoverse.com/arvados.git/sdk/go/arvados" - "gopkg.in/src-d/go-billy.v3/osfs" + "gopkg.in/src-d/go-billy.v4/osfs" git "gopkg.in/src-d/go-git.v4" git_config "gopkg.in/src-d/go-git.v4/config" git_plumbing "gopkg.in/src-d/go-git.v4/plumbing" @@ -78,7 +78,10 @@ func (gm gitMount) extractTree(ac IArvadosClient, dir string, token string) erro } err = repo.Fetch(&git.FetchOptions{ RemoteName: "origin", - Auth: git_http.NewBasicAuth("none", token), + Auth: &git_http.BasicAuth{ + Username: "none", + Password: token, + }, }) if err != nil { return fmt.Errorf("git fetch %q: %s", u.String(), err)