mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
Feature #523: Fix bug in one.cluster.info, XML returned was empty
This commit is contained in:
parent
932bc2caf7
commit
65ee2e30be
@ -27,7 +27,6 @@ void RequestManager::ClusterInfo::execute(
|
||||
xmlrpc_c::value * const retval)
|
||||
{
|
||||
string session;
|
||||
string info;
|
||||
|
||||
Cluster * cluster;
|
||||
ostringstream oss;
|
||||
@ -70,7 +69,7 @@ void RequestManager::ClusterInfo::execute(
|
||||
|
||||
// All nice, return the cluster info to the client
|
||||
arrayData.push_back(xmlrpc_c::value_boolean(true)); // SUCCESS
|
||||
arrayData.push_back(xmlrpc_c::value_string(info));
|
||||
arrayData.push_back(xmlrpc_c::value_string(oss.str()));
|
||||
|
||||
// Copy arrayresult into retval mem space
|
||||
arrayresult = new xmlrpc_c::value_array(arrayData);
|
||||
|
Loading…
x
Reference in New Issue
Block a user