Browse Source

etcdserver/etcdhttp: fix typo

Blake Mizerany 11 years ago
parent
commit
38e8f3b764
1 changed files with 1 additions and 1 deletions
  1. 1 1
      etcdserver2/etcdhttp/http.go

+ 1 - 1
etcdserver2/etcdhttp/http.go

@@ -64,7 +64,7 @@ func encodeResponse(ctx context.Context, w http.ResponseWriter, resp etcdserver.
 			return err
 		}
 	default:
-		panic("should not be rechable")
+		panic("should not be reachable")
 	}
 
 	w.Header().Set("Content-Type", "application/json")