X-Git-Url: http://git.giacomolli.uk/onechat/blobdiff_plain/baf7a940be8927278e3b4b87e7366cebfc16532f..53c6c8a5a17e2dfc8bd3ff02ab99d29d709dda2f:/probe.go?ds=inline diff --git a/probe.go b/probe.go index ba656ff..5b233ed 100644 --- a/probe.go +++ b/probe.go @@ -8,6 +8,7 @@ import ( "errors" "fmt" "io" + "log" "maps" "os" "path/filepath" @@ -105,7 +106,9 @@ func probe(ctx context.Context, args []string, out io.Writer) (err error) { slots: make(chan struct{}, builds), } - memory, err := openMemory(ctx, root, time.Now, summarizer) + // The report of the probe counts the failed calls, so the lines of the + // failed builds are not needed. + memory, err := openMemory(ctx, root, time.Now, summarizer, log.New(io.Discard, "", 0)) if err != nil { return err }