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 d06f80d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pkg/ibmvpc/analysis_output_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -360,9 +360,9 @@ var tests = []*vpcGeneralTest{
var formatsAvoidComparison = map[vpcmodel.OutFormat]bool{vpcmodel.ARCHDRAWIO: true, vpcmodel.DRAWIO: true}

// uncomment the function below to run for updating the expected output
//var formatsAvoidOutputGeneration = map[vpcmodel.OutFormat]bool{vpcmodel.ARCHDRAWIO: true, vpcmodel.DRAWIO: true}
// var formatsAvoidOutputGeneration = map[vpcmodel.OutFormat]bool{vpcmodel.ARCHDRAWIO: true, vpcmodel.DRAWIO: true}
//
//func TestAllWithGeneration(t *testing.T) {
// func TestAllWithGeneration(t *testing.T) {
// // tests is the list of tests to run
// for testIdx := range tests {
// tt := tests[testIdx]
Expand Down
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 d06f80d

Please sign in to comment.