From 61a5eb61a446581f59bc338aa23b6074cd068695 Mon Sep 17 00:00:00 2001 From: Mechiel Lukkien Date: Wed, 23 Aug 2023 16:22:59 +0200 Subject: [PATCH] remove needless fmt.Sprintf by staticcheck --- webadmin/admin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webadmin/admin.go b/webadmin/admin.go index 634c680..9e1f725 100644 --- a/webadmin/admin.go +++ b/webadmin/admin.go @@ -988,7 +988,7 @@ func checkDomain(ctx context.Context, resolver dns.Resolver, dialer *net.Dialer, r.TLSRPT.Record = &TLSRPTRecord{*record} } - instr := fmt.Sprintf(`TLSRPT is an opt-in mechanism to request feedback about TLS connectivity from remote SMTP servers when they connect to us. It allows detecting delivery problems and unwanted downgrades to plaintext SMTP connections. With TLSRPT you configure an email address to which reports should be sent. Remote SMTP servers will send a report once a day with the number of successful connections, and the number of failed connections including details that should help debugging/resolving any issues.`) + instr := `TLSRPT is an opt-in mechanism to request feedback about TLS connectivity from remote SMTP servers when they connect to us. It allows detecting delivery problems and unwanted downgrades to plaintext SMTP connections. With TLSRPT you configure an email address to which reports should be sent. Remote SMTP servers will send a report once a day with the number of successful connections, and the number of failed connections including details that should help debugging/resolving any issues.` if domConf.TLSRPT != nil { // TLSRPT does not require validation of reporting addresses outside the domain. // ../rfc/8460:1463