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

@@ -318,7 +318,9 @@ func (obj *FirewalldRes) CheckApply(ctx context.Context, apply bool) (bool, erro
if obj.zone == "" {
return false, fmt.Errorf("unexpected empty zone")
}
obj.init.Logf("zone: %s\n", obj.zone)
if obj.init.Debug {
obj.init.Logf("zone: %s", obj.zone)
}
}
checkOK := true