diff options
author | Kim "BKC" Carlbäcker <kim.carlbacker@gmail.com> | 2016-12-02 09:28:45 +0100 |
---|---|---|
committer | Kim "BKC" Carlbäcker <kim.carlbacker@gmail.com> | 2016-12-02 09:31:44 +0100 |
commit | e8e0539b454d622c1c428d03ac9c6f40d2654600 (patch) | |
tree | 3489dde790d31a7a249e2326bbdd97fae5beec3d /models/issue_label.go | |
parent | e6cfccdd40397b95dcf3de0ea9b484feea954fc2 (diff) | |
download | gitea-e8e0539b454d622c1c428d03ac9c6f40d2654600.tar.gz gitea-e8e0539b454d622c1c428d03ac9c6f40d2654600.zip |
Linting
Diffstat (limited to 'models/issue_label.go')
-rw-r--r-- | models/issue_label.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/issue_label.go b/models/issue_label.go index ffdaa072c8..39805ba80d 100644 --- a/models/issue_label.go +++ b/models/issue_label.go @@ -149,7 +149,7 @@ func GetLabelByID(id int64) (*Label, error) { return getLabelInRepoByID(x, 0, id) } -// GetLabelInRepoByID returns a label by ID in given repository. +// GetLabelInRepoByName returns a label by name in given repository. func GetLabelInRepoByName(repoID int64, labelName string) (*Label, error) { return getLabelInRepoByName(x, repoID, labelName) } |