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
f579cac297
commit
04365b949e
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 {
|
func HandleVMProtoServerHandshake(w http.ResponseWriter, r *http.Request) bool {
|
||||||
q := r.URL.Query()
|
q := r.URL.Query()
|
||||||
if q.Get("get_vm_proto_version") != "" {
|
if q.Get("get_vm_proto_version") != "" {
|
||||||
io.WriteString(w, "1")
|
_, _ = io.WriteString(w, "1")
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
|
|
Loading…
Reference in a new issue