mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
wal: fix wal doc
This commit is contained in:
@@ -48,7 +48,7 @@ Cut issues 0x10 entries with incremental index later then the file will be calle
|
||||
|
||||
At a later time a WAL can be opened at a particular raft index:
|
||||
|
||||
w, err := wal.OpenAtIndex("/var/lib/etcd", 0)
|
||||
w, err := wal.Open("/var/lib/etcd", 0)
|
||||
...
|
||||
|
||||
The raft index must have been written to the WAL. When opening without a
|
||||
|
||||
Reference in New Issue
Block a user