mirror of
https://github.com/interviewstreet/go-jira.git
synced 2025-06-27 00:21:07 +02:00
var total was having an issues
This commit is contained in:
@ -24,8 +24,8 @@ func GetAllIssues(client *jira.Client, searchString string) ([]jira.Issue, error
|
||||
return nil, err
|
||||
}
|
||||
|
||||
if issues == nil {
|
||||
total := resp.Total
|
||||
if issues == nil {
|
||||
issues = make([]jira.Issue, 0, total)
|
||||
}
|
||||
issues = append(issues, chunk...)
|
||||
|
Reference in New Issue
Block a user