summaryrefslogtreecommitdiffstats
path: root/modules/migrations/base/uploader.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2019-07-02 05:17:16 +0800
committerzeripath <art27@cantab.net>2019-07-01 22:17:16 +0100
commite728b5581291d6d9a62fcd8ab2c3b2e6c89b7138 (patch)
tree5ea593bc5394e271254746464fd1da8338dc3499 /modules/migrations/base/uploader.go
parent9fdd199cca780a13b44a667ee862b1ec3ff37958 (diff)
downloadgitea-e728b5581291d6d9a62fcd8ab2c3b2e6c89b7138.tar.gz
gitea-e728b5581291d6d9a62fcd8ab2c3b2e6c89b7138.zip
Fix bug conflict between SyncReleasesWithTags and InsertReleases (#7337)
* fix bug conflict between SyncReleasesWithTags and InsertReleases * fix tests * fix fmt
Diffstat (limited to 'modules/migrations/base/uploader.go')
-rw-r--r--modules/migrations/base/uploader.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/migrations/base/uploader.go b/modules/migrations/base/uploader.go
index 096a8ab8f0..9d2fd2af6a 100644
--- a/modules/migrations/base/uploader.go
+++ b/modules/migrations/base/uploader.go
@@ -7,7 +7,7 @@ package base
// Uploader uploads all the informations of one repository
type Uploader interface {
- CreateRepo(repo *Repository, includeWiki bool) error
+ CreateRepo(repo *Repository, opts MigrateOptions) error
CreateMilestones(milestones ...*Milestone) error
CreateReleases(releases ...*Release) error
CreateLabels(labels ...*Label) error