queue: in log lines about delivery, we had both "attempts" starting at 0 and "attempt" starting at 1, keep only "attempts" starting at 1

from eric l, thanks!
This commit is contained in:
Mechiel Lukkien
2025-04-07 13:33:31 +02:00
parent 39c21f80cd
commit 902de0e1f9
3 changed files with 1 additions and 3 deletions

View File

@ -68,7 +68,6 @@ func deliverSubmit(qlog mlog.Log, resolver dns.Resolver, dialer smtpclient.Diale
qlog.Debugx("queue deliversubmit result", submiterr,
slog.Any("host", transport.DNSHost),
slog.Int("port", port),
slog.Int("attempt", m0.Attempts),
slog.String("result", r),
slog.Int("delivered", delivered),
slog.Int("failed", failed),