Skip to content

Commit

Permalink
Update pkg/ibmvpc/sg_analysis.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 9, 2024
1 parent fa41982 commit 74ba11a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/ibmvpc/sg_analysis.go
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ func (sga *SGAnalyzer) rulesInConnectivity(target string, conn *common.Connectio
if ipb.ContainedIn(definedTarget) {
definedTargetConn := analyzedConns.allowedconns[definedTarget]

Check failure on line 330 in pkg/ibmvpc/sg_analysis.go

View workflow job for this annotation

GitHub Actions / build-and-test

definedTargetConn declared and not used
if conn != nil { // connection not part of the query
definedTargetConn := analyzedConns.allowedconns[definedTarget]
contained, err := conn.ContainedIn(definedTargetConn)
if err != nil {
return nil, err
Expand Down

0 comments on commit 74ba11a

Please sign in to comment.