weather: Fix type error when reporting CI stats.
* guix/scripts/weather.scm (report-server-coverage): Remove 'missing' binding above 'queued-subset' call. Before that 'queued-subset' would be called with a number instead of a list.
This commit is contained in:
parent
e64a3b436a
commit
7c8b7e35d0
|
@ -208,10 +208,10 @@ unavailable)~%"))
|
||||||
0 queue)))
|
0 queue)))
|
||||||
(newline)
|
(newline)
|
||||||
(unless (null? missing)
|
(unless (null? missing)
|
||||||
(let ((missing (length missing)))
|
|
||||||
(match (queued-subset queue missing)
|
(match (queued-subset queue missing)
|
||||||
(#f #f)
|
(#f #f)
|
||||||
((= length queued)
|
((= length queued)
|
||||||
|
(let ((missing (length missing)))
|
||||||
(format #t (G_ " ~,1f% (~h out of ~h) of the missing items \
|
(format #t (G_ " ~,1f% (~h out of ~h) of the missing items \
|
||||||
are queued~%")
|
are queued~%")
|
||||||
(* 100. (/ queued missing))
|
(* 100. (/ queued missing))
|
||||||
|
|
Loading…
Reference in New Issue