fix(error.go): fix typo in comment

This commit is contained in:
Chris Shoemaker
2013-12-21 12:50:46 -05:00
parent 557ffbb861
commit 39fb266776

View File

@@ -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 {