engine: resources: Make net and firewalld resources quieter

They are too noisy!
This commit is contained in:
James Shubin
2025-01-17 23:23:55 -05:00
parent 8e8e831e73
commit a713c08585
2 changed files with 6 additions and 2 deletions

View File

@@ -427,7 +427,9 @@ func (obj *NetRes) addrCheckApply(ctx context.Context, apply bool) (bool, error)
if !apply {
return false, nil
}
obj.init.Logf("addrCheckApply(%t)", apply)
if obj.init.Debug {
obj.init.Logf("addrCheckApply(%t)", apply)
}
// check each address and delete the ones that aren't in the definition
if err := obj.iface.addrApplyDelete(obj.Addrs); err != nil {