mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-04-15 01:41:56 +00:00
Correct function names (#3681)
Signed-off-by: ianlv <sunlvyun@outlook.com>
This commit is contained in:
@@ -161,7 +161,7 @@ func convertRepoHook(eventRepo *github.PushEventRepository) *model.Repo {
|
||||
return repo
|
||||
}
|
||||
|
||||
// covertLabels is a helper function used to convert a GitHub label list to
|
||||
// convertLabels is a helper function used to convert a GitHub label list to
|
||||
// the common Woodpecker label structure.
|
||||
func convertLabels(from []*github.Label) []string {
|
||||
labels := make([]string, len(from))
|
||||
|
||||
Reference in New Issue
Block a user