diff --git a/core/src/main/java/io/javaoperatorsdk/webhook/admission/AdmissionController.java b/core/src/main/java/io/javaoperatorsdk/webhook/admission/AdmissionController.java index a0a500d3..7b0cee8f 100644 --- a/core/src/main/java/io/javaoperatorsdk/webhook/admission/AdmissionController.java +++ b/core/src/main/java/io/javaoperatorsdk/webhook/admission/AdmissionController.java @@ -15,8 +15,8 @@ public AdmissionController(Mutator mutator) { this(new DefaultAdmissionRequestMutator<>(mutator)); } - public AdmissionController(Validator mutator) { - this(new DefaultAdmissionRequestValidator<>(mutator)); + public AdmissionController(Validator validator) { + this(new DefaultAdmissionRequestValidator<>(validator)); } public AdmissionController(AdmissionRequestHandler admissionRequestHandler) {