Skip to content

Commit e0663e9

Browse files
committed
should verify this is okay
1 parent 2690b64 commit e0663e9

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

components/odh-notebook-controller/controllers/notebook_webhook.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -429,12 +429,6 @@ func (w *NotebookWebhook) Handle(ctx context.Context, req admission.Request) adm
429429
return admission.PatchResponseFromRaw(req.Object.Raw, marshaledNotebook)
430430
}
431431

432-
// InjectDecoder injects the decoder.
433-
func (w *NotebookWebhook) InjectDecoder(d admission.Decoder) error {
434-
w.Decoder = d
435-
return nil
436-
}
437-
438432
// maybeRestartRunningNotebook evaluates whether the updates being made cause notebook pod to restart.
439433
// If the restart is caused by updates made by the mutating webhook itself to already existing notebook,
440434
// and the notebook is not stopped, then these updates will be blocked until the notebook is stopped.

0 commit comments

Comments
 (0)