This commit is contained in:
Blake Mizerany
2014-09-02 13:54:24 -07:00
committed by Yicheng Qin
parent 22c8ec0a80
commit 51d3dc7f6b

View File

@@ -141,7 +141,7 @@ func (h Handler) serveRaft(ctx context.Context, w http.ResponseWriter, r *http.R
}
}
// genId generates an random id that is: n < 0 < n.
// genId generates a random id that is: n < 0 < n.
func genId() int64 {
for {
b := make([]byte, 8)