Browse Source

fix(error.go): fix typo in comment

Chris Shoemaker 12 years ago
parent
commit
39fb266776
1 changed files with 1 additions and 1 deletions
  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) {
 func (e Error) Write(w http.ResponseWriter) {
 	w.Header().Add("X-Etcd-Index", fmt.Sprint(e.Index))
 	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 {
 	if e.ErrorCode/100 == 3 {
 		http.Error(w, e.toJsonString(), http.StatusInternalServerError)
 		http.Error(w, e.toJsonString(), http.StatusInternalServerError)
 	} else {
 	} else {