Browse Source

etcdserver: fix left Id -> ID

Yicheng Qin 11 năm trước cách đây
mục cha
commit
34547229a6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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),