wal: rename openAtIndex -> open; OpenAtIndexUntilUsing -> openNotInUse
This commit is contained in:
@ -67,7 +67,7 @@ func handleBackup(c *cli.Context) {
|
||||
}
|
||||
}
|
||||
|
||||
w, err := wal.OpenAtIndexUntilUsing(srcWAL, index)
|
||||
w, err := wal.OpenNotInUse(srcWAL, index)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user