Skip to content

Commit

Permalink
Fix panic in the TestChannelNamespaceDefaulting (#4712)
Browse files Browse the repository at this point in the history
Similar to #4711
  • Loading branch information
pierDipi authored Jan 8, 2021
1 parent 2294df3 commit 3783706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/channel_defaults_webhook_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,5 +181,5 @@ func webhookObservedUpdate(ch *messagingv1.Channel) bool {
}

func webhookObservedUpdateFromDeliverySpec(d *eventingduck.DeliverySpec) bool {
return d.BackoffDelay != nil && d.Retry != nil && d.BackoffPolicy != nil
return d != nil && d.BackoffDelay != nil && d.Retry != nil && d.BackoffPolicy != nil
}

0 comments on commit 3783706

Please sign in to comment.