Rename variable name
This commit is contained in:
parent
1e13513ec2
commit
22cd08da7b
|
@ -25,7 +25,7 @@ type Gitea struct {
|
|||
func (ge *Gitea) Generate() (string, []Entry, error) {
|
||||
client := gitea.NewClient(ge.BaseURL, ge.Token)
|
||||
|
||||
rows := make([]Entry, 0)
|
||||
entries := make([]Entry, 0)
|
||||
|
||||
milestoneID, err := ge.milestoneID(client)
|
||||
if err != nil {
|
||||
|
@ -78,7 +78,7 @@ func (ge *Gitea) Generate() (string, []Entry, error) {
|
|||
}
|
||||
p.Labels = labels
|
||||
|
||||
rows = append(rows, p)
|
||||
entries = append(entries, p)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -89,7 +89,7 @@ func (ge *Gitea) Generate() (string, []Entry, error) {
|
|||
p++
|
||||
}
|
||||
|
||||
return tagURL, rows, nil
|
||||
return tagURL, entries, nil
|
||||
}
|
||||
|
||||
// Contributors returns a list of contributors from Gitea
|
||||
|
|
Loading…
Reference in New Issue