mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/protoparser: fix golangci-lint warning after f579cac297
This commit is contained in:
parent
b285207aa7
commit
c734416f86
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ func HandleVMProtoClientHandshake(remoteWriteURL *url.URL) bool {
|
|||
func HandleVMProtoServerHandshake(w http.ResponseWriter, r *http.Request) bool {
|
||||
q := r.URL.Query()
|
||||
if q.Get("get_vm_proto_version") != "" {
|
||||
io.WriteString(w, "1")
|
||||
_, _ = io.WriteString(w, "1")
|
||||
return true
|
||||
}
|
||||
return false
|
||||
|
|
Loading…
Reference in a new issue