Revision 8c1dacab src/um/QuotaVirtualMachine.cc

View differences:

src/um/QuotaVirtualMachine.cc
50 50

  
51 51
bool QuotaVirtualMachine::check(Template * tmpl,  string& error)
52 52
{
53
    map<string, int> vm_request;
53
    map<string, float> vm_request;
54 54

  
55 55
    int memory;
56
    int cpu;
56
    float cpu;
57 57

  
58 58
    if ( tmpl->get("MEMORY", memory) == false )
59 59
    {
......
80 80
    map<string, int> vm_request;
81 81

  
82 82
    int memory;
83
    int cpu;
83
    float cpu;
84 84

  
85 85
    if ( tmpl->get("MEMORY", memory) == false )
86 86
    {

Also available in: Unified diff