etcdserver: Id -> ID

This commit is contained in:
Xiang Li
2014-10-12 08:29:39 +08:00
parent b53b74733a
commit 6fc0b1977b

View File

@@ -278,7 +278,7 @@ func (s *EtcdServer) Stop() {
// an error.
func (s *EtcdServer) Do(ctx context.Context, r pb.Request) (Response, error) {
if r.ID == 0 {
panic("r.Id cannot be 0")
panic("r.ID cannot be 0")
}
if r.Method == "GET" && r.Quorum {
r.Method = "QGET"