1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-02-27 13:57:23 +03:00

F #1548: "REP"->"REPEAT" in oned TIMES, DATE -> [0,1] in oned

This commit is contained in:
Ruben S. Montero 2018-05-07 18:35:46 +02:00
parent 35ed08fc82
commit 056a0d2dcd
2 changed files with 3 additions and 3 deletions

View File

@ -39,8 +39,8 @@ public:
enum EndOn
{
END_NONE = -1,
TIMES = 1,
DATE = 2
TIMES = 0,
DATE = 1
};
SchedAction(VectorAttribute *va, int id):VirtualMachineAttribute(va, id){};

View File

@ -21,7 +21,7 @@ int SchedAction::repeat(Repeat& r)
{
r = NONE;
std::string rep_s = vector_value("REP");
std::string rep_s = vector_value("REPEAT");
if ( rep_s.empty() )
{