Skip to content

Commit

Permalink
Update pkg/netpol/connlist/connlist.go
Browse files Browse the repository at this point in the history
Co-authored-by: Adi Sosnovich <[email protected]>
  • Loading branch information
shireenf-ibm and adisos authored Dec 11, 2024
1 parent bea728b commit 4c57f91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/netpol/connlist/connlist.go
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ func (ca *ConnlistAnalyzer) getPeersForConnsComputation(pe *eval.PolicyEngine) (
// append workload peers to results slices
srcPeers = append(srcPeers, workloadPeers...)
dstPeers = append(dstPeers, workloadPeers...)
peers = append(peers, workloadPeers...)
peers = workloadPeers

// if exposure-analysis is on get representative peers and append to src and dst peers slices
if ca.exposureAnalysis {
Expand Down

0 comments on commit 4c57f91

Please sign in to comment.