diff --git a/internal/onboard/onboard.go b/internal/onboard/onboard.go index 1948918..3ef7a04 100644 --- a/internal/onboard/onboard.go +++ b/internal/onboard/onboard.go @@ -457,6 +457,10 @@ func (r *Runner) check(ctx context.Context, res *Result) error { } return fmt.Errorf("llmgw doctor did not run on the node: %v: %s", err, lastLine(out)) } + if !r.Opts.NoFirewall && len(r.Opts.FirewallPorts) > 0 { + // A missing firewall is what this run is about to write. + rep.Findings = slices.DeleteFunc(rep.Findings, func(f doctor.Finding) bool { return f.Area == "firewall" }) + } res.Facts, res.Findings = rep.Facts, rep.Findings fails := 0