Skip to content

Commit

Permalink
Revert "Update pkg/vpcmodel/nodesExplainability.go"
Browse files Browse the repository at this point in the history
This reverts commit f8a8dd2.
  • Loading branch information
ShiriMoran committed Jan 17, 2024
1 parent bf6dc78 commit 25a07e3
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions pkg/vpcmodel/nodesExplainability.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,12 +184,7 @@ func (c *VPCConfig) computeRouterAndActualRules(potentialRules *rulesAndConnDeta
actual.rules = &rulesConnection{*actualIngress, *actualEgress}
}
actualRulesAndConn[i] = actual
actual := *potential
if !potential.src.IsInternal() || !potential.dst.IsInternal() {
actualIngress := computeActualRules(&potential.rules.ingressRules, filtersForExternal)
actualEgress := computeActualRules(&potential.rules.egressRules, filtersForExternal)
actual.rules = &rulesConnection{*actualIngress, *actualEgress}
}
}
return &actualRulesAndConn
}

Expand Down

0 comments on commit 25a07e3

Please sign in to comment.