API[host.get]() returns software_version (related to vatesfr/xo-web#2).

This commit is contained in:
Julien Fontanet 2013-04-12 15:03:31 +02:00
parent 4327137cb0
commit 5a32a55900
1 changed files with 1 additions and 7 deletions

View File

@ -270,12 +270,6 @@ final class Application extends Base
);
}
$version = array( // major.minor.vendor
'major' => $host->API_version_major,
'minor' => $host->API_version_minor,
'vendor' => $host->API_version_vendor,
);
$VMs = array();
foreach ($vms as $VM)
{
@ -303,7 +297,7 @@ final class Application extends Base
'start_time' => $dom0_metrics->start_time['timestamp'],
'tool_stack_start_time' => $dom0_metrics->start_time['timestamp'], // @todo
'uuid' => $host->uuid,
'version' => $version,
'software_version' => $host->software_version,
'VMs' => $VMs,
);