Skip to content

Commit

Permalink
CR
Browse files Browse the repository at this point in the history
  • Loading branch information
ShiriMoran committed Jan 17, 2024
1 parent 25a07e3 commit c10ea91
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/vpcmodel/nodesExplainability.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,12 @@ func (c *VPCConfig) computeRouterAndActualRules(potentialRules *rulesAndConnDeta
containingSrcNode, err1 := c.getContainingConfigNode(src)
containingDstNode, err2 := c.getContainingConfigNode(dst)
var routingResource RoutingResource
var filtersForExternal map[string]bool
if err1 == nil && err2 == nil {
routingResource, _ = c.getRoutingResource(containingSrcNode, containingDstNode)
}
var filtersForExternal map[string]bool
if routingResource != nil {
filtersForExternal = routingResource.AppliedFiltersKinds() // relevant filtersExternal
if routingResource != nil {
filtersForExternal = routingResource.AppliedFiltersKinds() // relevant filtersExternal
}
}
potential.router = routingResource
potential.filtersExternal = filtersForExternal
Expand Down

0 comments on commit c10ea91

Please sign in to comment.