From 2d1a5137695e227304d3247e816764840887223b Mon Sep 17 00:00:00 2001 From: Paul Wouters Date: Fri, 27 Mar 2026 13:59:36 -0400 Subject: [PATCH] Fix in.Rcode type for fmt.Errorf() in.Rcode returns an int. This resolves build issue: ./va.go:845:80: fmt.Errorf format %q has arg in.Rcode of wrong type int --- va/va.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/va/va.go b/va/va.go index 3c02829e..33c3fb93 100644 --- a/va/va.go +++ b/va/va.go @@ -842,7 +842,7 @@ func (va VAImpl) getTXTEntry(name string) ([]string, error) { } if in.Rcode != dns.RcodeSuccess { - return nil, fmt.Errorf("DNS lookup for %q returned an unsuccessful response: %q", name, in.Rcode) + return nil, fmt.Errorf("DNS lookup for %q returned an unsuccessful response: %d", name, in.Rcode) } for _, record := range in.Answer {