]> git.giacomolli.uk - onechat/blobdiff - whatsapp_import.go
Format short daemon events with slog
[onechat] / whatsapp_import.go
index 81eb808816935547fbab2778d4099a19d2f6fa44..7071c8369495d05e29463f95bcaec5390d1147ab 100644 (file)
@@ -211,7 +211,7 @@ func (p WhatsAppImportPlan) Write(out io.Writer) error {
                "owner: " + owner,
                fmt.Sprintf("bytes: %d (new batch text)", p.bytes),
                fmt.Sprintf("messages: %d (merged log)", p.messages),
-               fmt.Sprintf("estimated calls: %.0f (about 1.3 per message, limit %d)", estimate, buildCallLimit),
+               fmt.Sprintf("estimated calls: %.0f (about 1.3 per message, limit %d)", estimate, rebuildCallLimit),
        }
 
        _, err = io.WriteString(out, strings.Join(lines, "\n")+"\n")