Correct function names (#3681)

Signed-off-by: ianlv <sunlvyun@outlook.com>
This commit is contained in:
ianlv
2024-05-04 20:13:43 +08:00
committed by GitHub
parent cc0aaebe44
commit 6004e9907d
4 changed files with 5 additions and 5 deletions

View File

@@ -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))