1
0
Fork 0
mirror of https://github.com/Luzifer/github2gitea.git synced 2024-12-22 20:11:19 +00:00

Follow linter advice

This commit is contained in:
Knut Ahlers 2019-07-27 18:48:06 +02:00
parent 11d5c8363c
commit b076754e63
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -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),
}