Skip to content

Commit 1a90868

Browse files
authored
Merge pull request #159 from testwill/fmt
chore: unnecessary use of fmt.Sprintf
2 parents 72be485 + fa6e999 commit 1a90868

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doh-server/ietf.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func (s *Server) parseRequestIETF(ctx context.Context, w http.ResponseWriter, r
6262
if len(requestBinary) == 0 {
6363
return &DNSRequest{
6464
errcode: 400,
65-
errtext: fmt.Sprintf("Invalid argument value: \"dns\""),
65+
errtext: "Invalid argument value: \"dns\"",
6666
}
6767
}
6868

0 commit comments

Comments
 (0)