Merge pull request #159 from testwill/fmt

chore: unnecessary use of fmt.Sprintf
This commit is contained in:
GreyXor
2024-06-06 15:32:25 +02:00
committed by GitHub

View File

@@ -62,7 +62,7 @@ func (s *Server) parseRequestIETF(ctx context.Context, w http.ResponseWriter, r
if len(requestBinary) == 0 {
return &DNSRequest{
errcode: 400,
errtext: fmt.Sprintf("Invalid argument value: \"dns\""),
errtext: "Invalid argument value: \"dns\"",
}
}