mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
Wrong one.vmpool.info RM error check for state parameter
This commit is contained in:
parent
03fac9096a
commit
bba2daae70
@ -129,7 +129,8 @@ void RequestManagerPoolInfoFilter::request_execute(
|
||||
{
|
||||
int state = xmlrpc_c::value_int(paramList.getInt(4));
|
||||
|
||||
if (( state < MINE ) || ( state > VirtualMachine::FAILED ))
|
||||
if (( state < VirtualMachinePoolInfo::ALL_VM ) ||
|
||||
( state > VirtualMachine::FAILED ))
|
||||
{
|
||||
failure_response(XML_RPC_API,
|
||||
request_error("Incorrect filter_flag, state",""),
|
||||
|
Loading…
x
Reference in New Issue
Block a user