Skip to content

Commit

Permalink
go fmt
Browse files Browse the repository at this point in the history
Signed-off-by: Sven Thoms <[email protected]>
  • Loading branch information
shalberd committed Jan 3, 2025
1 parent 8fce111 commit ef25780
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -324,9 +324,9 @@ func (w *NotebookWebhook) Handle(ctx context.Context, req admission.Request) adm
mutatedNotebook.ObjectMeta.Annotations[updatePendingAnnotation] = needsRestart.Reason
} else {
delete(mutatedNotebook.ObjectMeta.Annotations, updatePendingAnnotation)
}
// Create the mutated notebook object
}

// Create the mutated notebook object
marshaledNotebook, err := json.Marshal(mutatedNotebook)
if err != nil {
return admission.Errored(http.StatusInternalServerError, err)
Expand Down

0 comments on commit ef25780

Please sign in to comment.