mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 14:07:01 +01:00
substitute: Update progress for responses different from 200/404.
* guix/scripts/substitute.scm (fetch-narinfos)[handle-narinfo-response]: Add missing call to 'update-progress!'.
This commit is contained in:
parent
f1723b8be6
commit
fc3ea24bf4
1 changed files with 2 additions and 1 deletions
|
@ -607,10 +607,11 @@ (define (handle-narinfo-response request response port result)
|
|||
#f ttl)
|
||||
(update-progress!)
|
||||
result))
|
||||
(else ; transient failure
|
||||
(else ; transient failure: 504...
|
||||
(if len
|
||||
(get-bytevector-n port len)
|
||||
(read-to-eof port))
|
||||
(update-progress!)
|
||||
result))))
|
||||
|
||||
(define (do-fetch uri port)
|
||||
|
|
Loading…
Reference in a new issue