summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
Diffstat (limited to 'models')
-rw-r--r--models/task.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/task.go b/models/task.go
index cb878d387c..763644e039 100644
--- a/models/task.go
+++ b/models/task.go
@@ -196,7 +196,7 @@ func CreateMigrateTask(doer, u *User, opts base.MigrateOptions) (*Task, error) {
repo, err := CreateRepository(doer, u, CreateRepoOptions{
Name: opts.RepoName,
Description: opts.Description,
- OriginalURL: opts.CloneAddr,
+ OriginalURL: opts.OriginalURL,
IsPrivate: opts.Private,
IsMirror: opts.Mirror,
Status: RepositoryBeingMigrated,