1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

bug #766: Scheduler now uses successfull monitored hosts

This commit is contained in:
Ruben S. Montero 2012-05-18 00:22:18 +02:00
parent dabd5702a4
commit 025a79a6d2

View File

@ -46,7 +46,7 @@ protected:
int get_suitable_nodes(vector<xmlNodePtr>& content)
{
return get_nodes("/HOST_POOL/HOST[STATE<3]", content);
return get_nodes("/HOST_POOL/HOST[STATE=1 or STATE=2]", content);
};
void add_object(xmlNodePtr node);