diff --git a/src/um/QuotaVirtualMachine.cc b/src/um/QuotaVirtualMachine.cc index 77624b6970..f0af2f6cbf 100644 --- a/src/um/QuotaVirtualMachine.cc +++ b/src/um/QuotaVirtualMachine.cc @@ -57,14 +57,12 @@ bool QuotaVirtualMachine::check(Template * tmpl, string& error) if ( tmpl->get("MEMORY", memory) == false ) { - error = "MEMORY not defined for VM"; - return false; + memory = 0; } if ( tmpl->get("CPU", cpu) == false ) { - error = "CPU not defined for VM"; - return false; + cpu = 0; } vm_request.insert(make_pair("VMS",1));