mirror of
https://github.com/Luzifer/github2gitea.git
synced 2024-11-12 17:02:43 +00:00
Follow linter advice
This commit is contained in:
parent
11d5c8363c
commit
b076754e63
1 changed files with 2 additions and 2 deletions
4
gitea.go
4
gitea.go
|
@ -19,7 +19,7 @@ type createMigrationRequest struct {
|
|||
PullRequests bool `json:"pull_requests"`
|
||||
//Releases bool `json:"releases"`
|
||||
RepoName string `json:"repo_name"`
|
||||
Uid int64 `json:"uid"`
|
||||
UID int64 `json:"uid"`
|
||||
Wiki bool `json:"wiki"`
|
||||
}
|
||||
|
||||
|
@ -32,7 +32,7 @@ func createMigrationRequestFromGithubRepo(gr *github.Repository) createMigration
|
|||
Private: boolFromPtr(gr.Private),
|
||||
PullRequests: boolFromPtr(gr.HasIssues),
|
||||
RepoName: strFromPtr(gr.Name),
|
||||
Uid: cfg.TargetUser,
|
||||
UID: cfg.TargetUser,
|
||||
Wiki: boolFromPtr(gr.HasWiki),
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue