Skip to content

Commit 6a72d36

Browse files
authored
fix typo on checkProtocolVersion error message (#870)
1 parent 9e32e24 commit 6a72d36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/vlselect/internalselect/internalselect.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ func getCommonParams(r *http.Request, expectedProtocolVersion string) (*commonPa
480480
func checkProtocolVersion(r *http.Request, expectedProtocolVersion string) error {
481481
version := r.FormValue("version")
482482
if version != expectedProtocolVersion {
483-
return fmt.Errorf("unexpected protocol version=%q; want %q; the most likely casue of this error is different versions of VictoriaLogs cluster components; "+
483+
return fmt.Errorf("unexpected protocol version=%q; want %q; the most likely cause of this error is different versions of VictoriaLogs cluster components; "+
484484
"make sure VictoriaLogs compoments have the same release version", version, expectedProtocolVersion)
485485
}
486486
return nil

0 commit comments

Comments
 (0)