Skip to content

Commit 85c8862

Browse files
Merge pull request #5143 from sensu/invalid-memory-address-fix
fixing invalid memory address error
2 parents 7ad9a08 + 53c9fdd commit 85c8862

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/pipeline/adapterv1.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ func (a *AdapterV1) Run(ctx context.Context, ref *corev2.ResourceReference, reso
182182
fields["pipeline_workflow"] = workflow.Name
183183
debugFields["pipeline_workflow"] = workflow.Name
184184

185-
if event.Check.IsSilenced {
185+
if event.HasCheck() && event.Check.IsSilenced {
186186
continue
187187
}
188188

0 commit comments

Comments
 (0)