Skip to content

Commit

Permalink
Update pkg/vpcmodel/nodesExplainability.go
Browse files Browse the repository at this point in the history
Co-authored-by: haim-kermany <[email protected]>
  • Loading branch information
ShiriMoran and haim-kermany authored Jan 17, 2024
1 parent 3044ad8 commit f16fcbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/vpcmodel/nodesExplainability.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f16fcbb

Please sign in to comment.