Skip to content
Snippets Groups Projects
Commit fa6e999d authored by guoguangwu's avatar guoguangwu
Browse files

chore: unnecessary use of fmt.Sprintf

parent 72be4857
No related branches found
No related tags found
No related merge requests found
......@@ -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\"",
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment