From 5671e0715f81e477fcc0fe002af8da48c0139b19 Mon Sep 17 00:00:00 2001 From: csviri Date: Thu, 30 Mar 2023 08:47:03 +0200 Subject: [PATCH] fix: decorational code changes --- .../webhook/admission/AdmissionController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {