Fix panic in the TestBrokerNamespaceDefaulting
Error was:
knative.dev/eventing/test/e2e.webhookObservedBrokerUpdateFromDeliverySpec(...)
/home/runner/work/eventing/eventing/src/knative.dev/eventing/test/e2e/broker_defaults_webhook_test.go:179
@@ -176,5 +176,5 @@ func webhookObservedBrokerUpdate(br *eventingv1.Broker) bool {
}
func webhookObservedBrokerUpdateFromDeliverySpec(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
}
