feat(xo-server): expose host.residentVms
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
|
||||
> Users must be able to say: “Nice enhancement, I'm eager to test it”
|
||||
|
||||
- [REST API] Expose `residentVms` property on hosts objects
|
||||
|
||||
### Bug fixes
|
||||
|
||||
> Users must be able to say: “I had this issue, happy to know it's fixed”
|
||||
|
||||
@@ -224,6 +224,7 @@ const TRANSFORMS = {
|
||||
patches: link(obj, 'patches'),
|
||||
powerOnMode: obj.power_on_mode,
|
||||
power_state: metrics ? (isRunning ? 'Running' : 'Halted') : 'Unknown',
|
||||
residentVms: link(obj, 'resident_VMs'),
|
||||
startTime: toTimestamp(otherConfig.boot_time),
|
||||
supplementalPacks:
|
||||
supplementalPacks ||
|
||||
|
||||
Reference in New Issue
Block a user