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

bug: Fixed number of restricted attributes constant

(cherry picked from commit 38f67ef27b891e34eab91fe38f25ac4eb054d81e)
This commit is contained in:
Ruben S. Montero 2012-01-18 23:37:36 +01:00
parent ef241ba919
commit 89a82988df

View File

@ -28,7 +28,7 @@ const string VirtualMachineTemplate::RESTRICTED_ATTRIBUTES[] = {
"RANK"
};
const int VirtualMachineTemplate::RS_ATTRS_LENGTH = 3;
const int VirtualMachineTemplate::RS_ATTRS_LENGTH = 5;
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
@ -83,4 +83,4 @@ bool VirtualMachineTemplate::check(string& rs_attr)
}
return false;
}
}