summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
38d0c57)
svn path=/trunk/web/; revision=266
owner = validation.testOwner(user, fields.getfirst('owner'))
memory = fields.getfirst('memory')
owner = validation.testOwner(user, fields.getfirst('owner'))
memory = fields.getfirst('memory')
- memory = validation.validMemory(user, memory, on=True)
+ memory = validation.validMemory(owner, memory, on=True)
disk_size = fields.getfirst('disk')
disk_size = fields.getfirst('disk')
- disk_size = validation.validDisk(user, disk_size)
+ disk_size = validation.validDisk(owner, disk_size)
vm_type = fields.getfirst('vmtype')
if vm_type not in ('hvm', 'paravm'):
vm_type = fields.getfirst('vmtype')
if vm_type not in ('hvm', 'paravm'):