feat(vm.docker.containers): like vm.docker.process.items but always an array
This commit is contained in:
parent
26a668a875
commit
399f4d0ea3
@ -232,7 +232,8 @@ const TRANSFORMS = {
|
||||
return {
|
||||
enabled: true,
|
||||
info: info && parseXml(info).docker_info,
|
||||
process: process && parseXml(process).docker_ps,
|
||||
containers: ensureArray(process && process.items),
|
||||
process: process && parseXml(process).docker_ps, // deprecated (only used in v4)
|
||||
version: version && parseXml(version).docker_version
|
||||
}
|
||||
})(),
|
||||
|
Loading…
Reference in New Issue
Block a user