Browse Source

etcdserver: fix left Id -> ID

Yicheng Qin 11 years ago
parent
commit
34547229a6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      etcdserver/server.go

+ 1 - 1
etcdserver/server.go

@@ -329,7 +329,7 @@ func (s *EtcdServer) publish(m Member, retryInterval time.Duration) {
 		return
 	}
 	req := pb.Request{
-		Id:     GenID(),
+		ID:     GenID(),
 		Method: "PUT",
 		Path:   m.storeKey(),
 		Val:    string(b),