From 341359329a61987bd4b070996dd65d01b0c581e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kim=20=22BKC=22=20Carlb=C3=A4cker?= Date: Thu, 2 Feb 2017 16:35:56 +0100 Subject: [PATCH] On => Of --- models/issue_label.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/models/issue_label.go b/models/issue_label.go index 59eeb87ad..e46e359b2 100644 --- a/models/issue_label.go +++ b/models/issue_label.go @@ -151,9 +151,9 @@ func GetLabelByID(id int64) (*Label, error) { return getLabelOfRepoByID(x, 0, id) } -// GetLabelInRepoByID returns a label by ID in given repository. -func GetLabelOnRepoByName(repoID int64, labelName string) (*Label, error) { - return getLabelOnRepoByName(x, repoID, labelName) +// GetLabelOfRepoByID returns a label by ID in given repository. +func GetLabelOfRepoByName(repoID int64, labelName string) (*Label, error) { + return getLabelOfRepoByName(x, repoID, labelName) } // GetLabelOfRepoByID returns a label by ID in given repository.