Skip to content

Commit d8c7ac7

Browse files
boazreicherCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 592af2c commit d8c7ac7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/github/issues_granular.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ func GranularUpdateIssueLabels(t translations.TranslationHelperFunc) inventory.S
398398
payload = append(payload, labelWithRationale{Name: name, Rationale: rationale, Suggest: isSuggestion})
399399
}
400400
default:
401-
return utils.NewToolResultError("each label must be a string or an object with 'name' and optional 'rationale'"), nil, nil
401+
return utils.NewToolResultError("each label must be a string or an object with 'name' and optional 'rationale' and/or 'is_suggestion'"), nil, nil
402402
}
403403
}
404404

0 commit comments

Comments
 (0)