Skip to content

Commit 7e3bbbf

Browse files
committed
Remove error
1 parent 6885598 commit 7e3bbbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/webhook/v1beta1/pod/inject_webhook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ func (s *sidecarInjector) MutationRequired(pod *v1.Pod, ns string) (bool, error)
114114
// Try to get Katib job kind and job name from mutating pod
115115
jobKind, jobName, err := s.getKatibJob(object, ns)
116116
if err != nil {
117-
return false, err
117+
return false, nil
118118
}
119119

120120
trial := &trialsv1beta1.Trial{}

0 commit comments

Comments
 (0)