Skip to content

Commit

Permalink
Update log (#173)
Browse files Browse the repository at this point in the history
* small debug log fix

Signed-off-by: adisos <adisos@il.ibm.com>

* lint

Signed-off-by: adisos <adisos@il.ibm.com>

---------

Signed-off-by: adisos <adisos@il.ibm.com>
  • Loading branch information
adisos authored Jan 30, 2025
1 parent 268daed commit b197f51
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/model/dfw/dfw.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,9 @@ func (d *DFW) AllowedConnectionsIngressOrEgress(src, dst *endpoints.VM, isIngres
(allAllowedConns.accumulatedConns.Union(allDeniedConns.accumulatedConns)).Equal(netset.AllTransports()) {
// add this message only if next categoires have rules that are skipped (redundant)
if remainingRulesNum > 0 {
logging.Debugf("skipping analysis from category %s, all onnections were determined by previous categories",
dfwCategory.Category.String())
logging.Debugf(
"for src=%s, dst=%s, isIngress=%t, skipping analysis from category %s, all connections were determined by previous categories",
src.Name(), dst.Name(), isIngress, dfwCategory.Category.String())
}
break
}
Expand Down

0 comments on commit b197f51

Please sign in to comment.