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