Skip to content

Commit

Permalink
Add new tag to mtq
Browse files Browse the repository at this point in the history
Signed-off-by: bmordeha <[email protected]>
  • Loading branch information
Barakmor1 committed Nov 19, 2023
1 parent 61ab665 commit 6dfeba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/mtq-lock-server/mtq-handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func (tvlv *TargetVirtLauncherValidator) ServeHTTP(w http.ResponseWriter, r *htt

}

// parseRequest extracts an AdmissionReview from an http.Request if possible
// parseRequest extracts an AdmissionReview from an http.Request if possible.
func parseRequest(r http.Request) (*admissionv1.AdmissionReview, error) {
if r.Header.Get("Content-Type") != "application/json" {
return nil, fmt.Errorf("Content-Type: %q should be %q",
Expand Down

0 comments on commit 6dfeba1

Please sign in to comment.