1
0
mirror of https://github.com/taigrr/bitcask synced 2025-01-18 04:03:17 -08:00

Return error if invalid range

This commit is contained in:
2020-12-23 18:38:49 +10:00
parent 20983b6713
commit 877b6a175c
3 changed files with 15 additions and 3 deletions

View File

@@ -53,7 +53,7 @@ func _range(path, start, end string) int {
return nil
})
if err != nil {
log.WithError(err).Error("error rangening keys")
log.WithError(err).Error("error ranging over keys")
return 1
}