Site
Gitweb
Static
projects
/
eros.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edff815
)
Correct `substring' argument type in v2 verify worklist query
author
Jakob Cornell
<jakob+gpg@jcornell.net>
Mon, 18 Apr 2022 20:58:27 +0000
(15:58 -0500)
committer
Jakob Cornell
<jakob+gpg@jcornell.net>
Mon, 18 Apr 2022 20:58:27 +0000
(15:58 -0500)
disk_jumble/src/disk_jumble/verify.py
patch
|
blob
|
history
diff --git
a/disk_jumble/src/disk_jumble/verify.py
b/disk_jumble/src/disk_jumble/verify.py
index ebc2fbf9e252df8fa2e2777006a9b091f68bf9ec..cb5aded87a5ae28732482e675c59abb0957c5c36 100644
(file)
--- a/
disk_jumble/src/disk_jumble/verify.py
+++ b/
disk_jumble/src/disk_jumble/verify.py
@@
-223,7
+223,7
@@
def _get_v2_worklist(conn, disk_id: int, target_ranges: List[NumericRange]) -> L
) as block,
substring(
hashes,
- generate_series(lower(check_erange), upper(check_erange) - 1) * 32,
+ generate_series(lower(check_erange), upper(check_erange) - 1)
::integer
* 32,
32
) as hash,
crypt_key