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:
parent
ef241ba919
commit
89a82988df
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user