diff --git a/api/v1beta1/exchange_webhook.go b/api/v1beta1/exchange_webhook.go index 94a82aab..f7094cbc 100644 --- a/api/v1beta1/exchange_webhook.go +++ b/api/v1beta1/exchange_webhook.go @@ -83,7 +83,7 @@ func (e *Exchange) ValidateUpdate(_ context.Context, oldObj, newObj runtime.Obje if newExchange.Spec.Durable != oldExchange.Spec.Durable { allErrs = append(allErrs, field.Invalid( field.NewPath("spec", "durable"), - newExchange.Spec.AutoDelete, + newExchange.Spec.Durable, "durable cannot be updated", )) }