Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
rajivnathan committed Nov 25, 2024
1 parent bd4c1ca commit a969f52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/webhook/validatingwebhook/validate_vm_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func (v VMRequestValidator) validate(body []byte) []byte {
log.Info("sandbox user is trying to create a VM with RunStrategy configured", "AdmissionReview", admReview) // not allowed because it interferes with the Dev Sandbox Idler
return denyAdmissionRequest(admReview, errors.New("this is a Dev Sandbox enforced restriction. Configuring RunStrategy is not allowed"))
}
// the user is not creating a VM with the `runStrategy` configured, allowing the request.
// the user is not creating a VM with the 'runStrategy' configured, allowing the request.
return allowAdmissionRequest(admReview)
}

Expand Down

0 comments on commit a969f52

Please sign in to comment.