Skip to content

Commit

Permalink
Change spelling from converBranch=>convertBranch
Browse files Browse the repository at this point in the history
Fixed func namespace of `convertBranch` webhook in the gitlab driver.
  • Loading branch information
Johnny M committed Oct 26, 2021
1 parent ca0f320 commit a951515
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scm/driver/gitlab/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ func convertPushHook(src *pushHook) *scm.PushHook {
return dst
}

func converBranchHook(src *pushHook) *scm.BranchHook {
func convertBranchHook(src *pushHook) *scm.BranchHook {
action := scm.ActionCreate
commit := src.After
if src.After == "0000000000000000000000000000000000000000" {
Expand Down

0 comments on commit a951515

Please sign in to comment.