mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
store: database: Use correct function name in assertion.
* guix/store/database.scm (register-valid-path): Replace "sqlite-register" with "register-valid-path" as argument to `assert-integer'. Change-Id: Id93687e90d0a806d715006ca0b2498a1d10cfba6 Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
parent
a3c28d7f7e
commit
c3dfb14f9b
1 changed files with 3 additions and 2 deletions
|
@ -247,8 +247,9 @@ (define registration-time
|
|||
(time-second time))
|
||||
|
||||
;; Make sure NAR-SIZE is valid.
|
||||
(assert-integer "sqlite-register" positive? #:nar-size nar-size)
|
||||
(assert-integer "sqlite-register" (cut >= <> 0) #:time registration-time)
|
||||
(assert-integer "register-valid-path" positive? #:nar-size nar-size)
|
||||
(assert-integer "register-valid-path" (cut >= <> 0)
|
||||
#:time registration-time)
|
||||
|
||||
(define id
|
||||
(let ((existing-id (valid-path-id db path)))
|
||||
|
|
Loading…
Reference in a new issue