From c05717a5f086c172e67b0bb9cd351e0e972de93d Mon Sep 17 00:00:00 2001 From: Unknwon Date: Tue, 4 Apr 2017 20:42:18 -0400 Subject: models/mirror: feed git.IsRepoURLAccessible with raw mirror address --- routers/api/v1/repo/repo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routers/api/v1') diff --git a/routers/api/v1/repo/repo.go b/routers/api/v1/repo/repo.go index d7109f78..e0f62baf 100644 --- a/routers/api/v1/repo/repo.go +++ b/routers/api/v1/repo/repo.go @@ -270,7 +270,7 @@ func Migrate(ctx *context.APIContext, f form.MigrateRepo) { log.Error(4, "DeleteRepository: %v", errDelete) } } - ctx.Error(500, "MigrateRepository", models.HandleCloneUserCredentials(err.Error(), true)) + ctx.Error(500, "MigrateRepository", models.HandleMirrorCredentials(err.Error(), true)) return } -- cgit v1.2.3