Rename variable name

This commit is contained in:
jaqra 2020-07-30 00:26:20 +03:00
parent 1e13513ec2
commit 22cd08da7b
1 changed files with 3 additions and 3 deletions

View File

@ -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