Skip to content

Commit 0f2face

Browse files
committed
fix docs
1 parent d22e22a commit 0f2face

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/issue_label.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ func GetLabelInRepoByName(repoID int64, labelName string) (*Label, error) {
205205

206206
// GetLabelsInRepoByNames returns a list of labels by names in a given
207207
// repository.
208-
// it silently ignores label IDs that do not belong to the repository.
208+
// it silently ignores label names that do not belong to the repository.
209209
func GetLabelsInRepoByNames(repoID int64, labelNames []string) ([]*Label, error) {
210210
labels := make([]*Label, 0, len(labelNames))
211211
return labels, x.

0 commit comments

Comments
 (0)