Fix listing resource pool resources
This commit is contained in:
parent
8100d36aa5
commit
9c123bbfa9
1 changed files with 4 additions and 2 deletions
|
|
@ -391,7 +391,7 @@
|
|||
(('list-resources reply)
|
||||
(spawn-fiber
|
||||
(lambda ()
|
||||
(put-message reply (list-copy resources))))
|
||||
(put-message reply (vector->list resources))))
|
||||
|
||||
(loop available
|
||||
waiters))
|
||||
|
|
@ -967,7 +967,9 @@
|
|||
(('list-resources reply)
|
||||
(spawn-fiber
|
||||
(lambda ()
|
||||
(put-message reply (list-copy resources))))
|
||||
(put-message reply (hash-map->list
|
||||
(lambda (_ value) value)
|
||||
resources))))
|
||||
|
||||
(loop next-resource-id
|
||||
available
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue