From ec56e69a3c98fd35fb92c06b8a6cfe1707ecf2b7 Mon Sep 17 00:00:00 2001 From: kooomix Date: Tue, 29 Nov 2022 14:55:30 +0200 Subject: [PATCH] minor fix --- core/pkg/opaprocessor/processorhandler.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/pkg/opaprocessor/processorhandler.go b/core/pkg/opaprocessor/processorhandler.go index 83d7c574..9c32d9f5 100644 --- a/core/pkg/opaprocessor/processorhandler.go +++ b/core/pkg/opaprocessor/processorhandler.go @@ -156,8 +156,6 @@ func (opap *OPAProcessor) processRule(rule *reporthandling.PolicyRule, fixedCont postureControlInputs := opap.regoDependenciesData.GetFilteredPostureControlInputs(rule.ConfigInputs) // get store dataControlInputs := map[string]string{"cloudProvider": opap.OPASessionObj.Report.ClusterCloudProvider} - postureControlInputs["cloudProvider"] = []string{opap.OPASessionObj.Report.ClusterCloudProvider} - // Merge configurable control input and fixed control input for k, v := range fixedControlInputs { postureControlInputs[k] = v