From f16fcbbe0d82da21b780063856acf26328eeea7b Mon Sep 17 00:00:00 2001 From: ShiriMoran <139739065+ShiriMoran@users.noreply.github.com> Date: Wed, 17 Jan 2024 14:28:04 +0200 Subject: [PATCH] Update pkg/vpcmodel/nodesExplainability.go Co-authored-by: haim-kermany <82028281+haim-kermany@users.noreply.github.com> --- pkg/vpcmodel/nodesExplainability.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/vpcmodel/nodesExplainability.go b/pkg/vpcmodel/nodesExplainability.go index 30d581995..e088cfea4 100644 --- a/pkg/vpcmodel/nodesExplainability.go +++ b/pkg/vpcmodel/nodesExplainability.go @@ -189,7 +189,7 @@ func (c *VPCConfig) computeRouterAndActualRules(potentialRules *rulesAndConnDeta } func computeActualRules(potentialRules *rulesInLayers, filtersExternal map[string]bool) *rulesInLayers { - actualRules := make(rulesInLayers) + actualRules := rulesInLayers{} for filter, potentialRules := range *potentialRules { if filtersExternal[filter] { actualRules[filter] = potentialRules