diff options
author | Unknwon <u@gogs.io> | 2017-04-04 20:42:18 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-04-04 20:42:18 -0400 |
commit | c05717a5f086c172e67b0bb9cd351e0e972de93d (patch) | |
tree | 8ff189a105e3846e88454b24760605ee28d4832d /routers/api | |
parent | 5a488b6517bd6a9980c3f226231ff21a4ca06746 (diff) |
models/mirror: feed git.IsRepoURLAccessible with raw mirror address
Diffstat (limited to 'routers/api')
-rw-r--r-- | routers/api/v1/repo/repo.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |