Skip to content

Commit 1d62377

Browse files
committed
Fix bug of migrated repository not index
1 parent 8e18b41 commit 1d62377

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/task/migrate.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ func runMigrateTask(t *models.Task) (err error) {
117117
_ = t.UpdateCols("message")
118118
})
119119
if err == nil {
120+
t.Repo = repo
120121
log.Trace("Repository migrated [%d]: %s/%s", repo.ID, t.Owner.Name, repo.Name)
121122
return
122123
}

0 commit comments

Comments
 (0)