mirror of https://github.com/go-gitea/gitea
Correctly store mirror setting in migration
This commit is contained in:
parent
78945ebd0e
commit
a3a40157a3
|
@ -130,6 +130,12 @@ func (g *GiteaLocalUploader) CreateRepo(repo *base.Repository, opts base.Migrate
|
|||
Private: repo.IsPrivate,
|
||||
Wiki: opts.Wiki,
|
||||
Releases: opts.Releases, // if didn't get releases, then sync them from tags
|
||||
Issues: opts.Issues,
|
||||
Milestones: opts.Milestones,
|
||||
Labels: opts.Labels,
|
||||
Comments: opts.Comments,
|
||||
PullRequests: opts.PullRequests,
|
||||
ReleaseAssets: opts.ReleaseAssets,
|
||||
MirrorInterval: opts.MirrorInterval,
|
||||
}, NewMigrationHTTPTransport())
|
||||
|
||||
|
|
Loading…
Reference in New Issue