Skip to content

Commit

Permalink
CR comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ShiriMoran committed Nov 16, 2023
1 parent 9fd1e96 commit b0cc0a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/vpcmodel/semanticDiff.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ type diffBetweenCfgs struct {
// computes and returns the semantic diff of endpoints or subnets connectivity, as per the required analysis
func (configs configsForDiff) GetDiff() (*diffBetweenCfgs, error) {
// 1. compute connectivity for each of the configurations
generalConnectivityMap1, err := configs.config1.getAllowedConnectionCombined(configs.diffAnalysis)
generalConnectivityMap1, err := configs.config1.getAllowedConnectionsCombined(configs.diffAnalysis)
if err != nil {
return nil, err
}
generalConnectivityMap2, err := configs.config2.getAllowedConnectionCombined(configs.diffAnalysis)
generalConnectivityMap2, err := configs.config2.getAllowedConnectionsCombined(configs.diffAnalysis)
if err != nil {
return nil, err
}
Expand Down Expand Up @@ -96,7 +96,7 @@ func (configs configsForDiff) GetDiff() (*diffBetweenCfgs, error) {
return res, nil
}

func (c *VPCConfig) getAllowedConnectionCombined(
func (c *VPCConfig) getAllowedConnectionsCombined(
diffAnalysis diffAnalysisType) (generalConnectivityMap GeneralConnectivityMap, err error) {
if diffAnalysis == Subnets {
subnetsConn, err := c.GetSubnetsConnectivity(true, false)
Expand Down

0 comments on commit b0cc0a8

Please sign in to comment.