Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Update webhook.go #56

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions bitfusion_device_plugin/webhook/pkg/webhook/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ func (whsvr *WebhookServer) Serve(w http.ResponseWriter, r *http.Request) {
admissionReview.Response = admissionResponse
if ar.Request != nil {
admissionReview.Response.UID = ar.Request.UID
admissionReview.Kind = ar.Kind
admissionReview.APIVersion = ar.APIVersion
}
}

Expand Down