From d17700d3155dbdc4b29ba13fb24e45128276e0f9 Mon Sep 17 00:00:00 2001 From: Avinash Patnala Date: Tue, 29 Oct 2024 17:37:33 +0000 Subject: [PATCH] remove commented code Signed-off-by: Avinash Patnala --- pkg/controller/constraint/constraint_controller.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pkg/controller/constraint/constraint_controller.go b/pkg/controller/constraint/constraint_controller.go index 21feeca5c51..196599fea30 100644 --- a/pkg/controller/constraint/constraint_controller.go +++ b/pkg/controller/constraint/constraint_controller.go @@ -74,12 +74,6 @@ var ( ErrVAPConditionsNotSatisfied = errors.New("Conditions are not satisfied to generate ValidatingAdmissionPolicy and ValidatingAdmissionPolicyBinding") ) -// var vapMux sync.RWMutex - -// var VapAPIEnabled *bool - -// var GroupVersion *schema.GroupVersion - type Adder struct { CFClient *constraintclient.Client ConstraintsCache *ConstraintsCache