pullpal: fix err definition

(whoops)
This commit is contained in:
Moby von Briesen 2023-10-21 11:25:39 -04:00
parent 9f5258fe22
commit b454b2ec83
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ func (p pullPalRepo) checkIssuesAndComments() error {
return nil return nil
} }
func (p *pullPalRepo) handleIssue(issue vc.Issue) error { func (p *pullPalRepo) handleIssue(issue vc.Issue) (err error) {
// remove labels from issue so that it is not picked up again until labels are reapplied // remove labels from issue so that it is not picked up again until labels are reapplied
for _, label := range p.listIssueOptions.Labels { for _, label := range p.listIssueOptions.Labels {
err = p.ghClient.RemoveLabelFromIssue(issue.Number, label) err = p.ghClient.RemoveLabelFromIssue(issue.Number, label)