diff --git a/pkg/webhook/v1beta1/pod/inject_webhook.go b/pkg/webhook/v1beta1/pod/inject_webhook.go index 1d1f8eda20f..5807908a66e 100644 --- a/pkg/webhook/v1beta1/pod/inject_webhook.go +++ b/pkg/webhook/v1beta1/pod/inject_webhook.go @@ -114,7 +114,7 @@ func (s *sidecarInjector) MutationRequired(pod *v1.Pod, ns string) (bool, error) // Try to get Katib job kind and job name from mutating pod jobKind, jobName, err := s.getKatibJob(object, ns) if err != nil { - return false, err + return false, nil } trial := &trialsv1beta1.Trial{}