Explorar o código

fix(error.go): fix typo in comment

Chris Shoemaker %!s(int64=12) %!d(string=hai) anos
pai
achega
39fb266776
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      error/error.go

+ 1 - 1
error/error.go

@@ -111,7 +111,7 @@ func (e Error) toJsonString() string {
 
 func (e Error) Write(w http.ResponseWriter) {
 	w.Header().Add("X-Etcd-Index", fmt.Sprint(e.Index))
-	// 3xx is reft internal error
+	// 3xx is raft internal error
 	if e.ErrorCode/100 == 3 {
 		http.Error(w, e.toJsonString(), http.StatusInternalServerError)
 	} else {