File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ func GetLabelByID(id int64) (*Label, error) {
149
149
return getLabelInRepoByID (x , 0 , id )
150
150
}
151
151
152
- // GetLabelInRepoByID returns a label by ID in given repository.
152
+ // GetLabelInRepoByName returns a label by name in given repository.
153
153
func GetLabelInRepoByName (repoID int64 , labelName string ) (* Label , error ) {
154
154
return getLabelInRepoByName (x , repoID , labelName )
155
155
}
Original file line number Diff line number Diff line change @@ -30,12 +30,12 @@ func ListIssues(ctx *context.APIContext) {
30
30
}
31
31
if ctx .Query ("state" ) == "all" {
32
32
issueOpts .IsClosed = ! issueOpts .IsClosed
33
- temp_issues , err := models .Issues (& issueOpts )
33
+ tempIssues , err := models .Issues (& issueOpts )
34
34
if err != nil {
35
35
ctx .Error (500 , "Issues" , err )
36
36
return
37
37
}
38
- issues = append (issues , temp_issues ... )
38
+ issues = append (issues , tempIssues ... )
39
39
}
40
40
41
41
// FIXME: use IssueList to improve performance.
You can’t perform that action at this time.
0 commit comments