Skip to content
This repository was archived by the owner on Mar 21, 2025. It is now read-only.

Commit 411235f

Browse files
committed
Fix typo in struct field name
1 parent b23c94f commit 411235f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/manager/receive.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ func pipelineExcludedBranchesDoNotMatch(pInfo PipelineInfo, pipeline config.Pipe
279279
}
280280

281281
func pipelineCommentMatches(pInfo PipelineInfo, pipeline config.Pipeline) bool {
282-
prefix := pipeline.Trigger.PrComent
282+
prefix := pipeline.Trigger.PrComment
283283
if prefix == nil || *prefix == "" {
284284
return true
285285
}

pkg/config/ods.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ type Trigger struct {
123123
Event []string `json:"event"`
124124
Branches []string `json:"branches,omitempty"`
125125
ExceptBranches []string `json:"exceptBranches,omitempty"`
126-
PrComent *string `json:"prComment,omitempty"`
126+
PrComment *string `json:"prComment,omitempty"`
127127
}
128128

129129
func (o *ODS) Validate() error {

0 commit comments

Comments
 (0)