summaryrefslogtreecommitdiffstats
path: root/modules/migration/issue.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/migration/issue.go')
-rw-r--r--modules/migration/issue.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/migration/issue.go b/modules/migration/issue.go
index 78f648dd2d..cc13570afb 100644
--- a/modules/migration/issue.go
+++ b/modules/migration/issue.go
@@ -30,11 +30,11 @@ type Issue struct {
}
// GetExternalName ExternalUserMigrated interface
-func (i *Issue) GetExternalName() string { return i.PosterName }
+func (issue *Issue) GetExternalName() string { return issue.PosterName }
// GetExternalID ExternalUserMigrated interface
-func (i *Issue) GetExternalID() int64 { return i.PosterID }
+func (issue *Issue) GetExternalID() int64 { return issue.PosterID }
-func (i *Issue) GetLocalIndex() int64 { return i.Number }
-func (i *Issue) GetForeignIndex() int64 { return i.ForeignIndex }
-func (i *Issue) GetContext() DownloaderContext { return i.Context }
+func (issue *Issue) GetLocalIndex() int64 { return issue.Number }
+func (issue *Issue) GetForeignIndex() int64 { return issue.ForeignIndex }
+func (issue *Issue) GetContext() DownloaderContext { return issue.Context }