mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-16 17:53:08 +09:00
bug reading nebula config
git-svn-id: http://svn.opennebula.org/one/trunk@265 3034c82b-c49b-4eb3-8279-a7acafdc01c0
This commit is contained in:
1 parent
ea969a629e
commit
da296bda48
1 file changed
+2
-2
@@ -214,14 +214,13 @@ void Nebula::start()
|
||||
|
||||
is >> timer_period;
|
||||
|
||||
attr.clear();
|
||||
|
||||
// ---- Virtual Machine Manager ----
|
||||
try
|
||||
{
|
||||
time_t poll_period;
|
||||
vector<const Attribute *> vmm_mads;
|
||||
|
||||
attr.clear();
|
||||
nebula_configuration->get("VM_POLLING_INTERVAL", attr);
|
||||
|
||||
sattr = static_cast<const SingleAttribute *>(attr[0]);
|
||||
@@ -275,6 +274,7 @@ void Nebula::start()
|
||||
vector<const Attribute *> im_mads;
|
||||
time_t monitor_period;
|
||||
|
||||
attr.clear();
|
||||
nebula_configuration->get("HOST_MONITORING_INTERVAL", attr);
|
||||
|
||||
sattr = static_cast<const SingleAttribute *>(attr[0]);
|
||||
|
||||
Reference in new issue
Block a user