Migrate to remotes interface
This commit is contained in:
2
internal/cache/projects_git.go
vendored
2
internal/cache/projects_git.go
vendored
@@ -31,7 +31,7 @@ func (c *Cache) OpenProject(ctx context.Context, project *projects.Project) *git
|
||||
// Check to make sure we can connect before we time out
|
||||
// shouldn't be necessary, but go-git does not properly
|
||||
// honor its context
|
||||
if err := project.CheckHost(projects.GitlabProtoSSH); err != nil {
|
||||
if err := project.CheckHost(projects.GitProtoSSH); err != nil {
|
||||
c.log.Fatal("Git remote unreachable, giving up", c.log.Args("error", err))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user