minor fix

This commit is contained in:
Arvind Tiwari 2017-09-27 03:28:06 +05:30
commit f4b6b38522
3 changed files with 2 additions and 3 deletions

View file

@ -128,7 +128,7 @@ def create_vm_task(self, vm_template_id, user, specs, template,
'storage': specs.get('disk_size'),
'price': specs.get('price'),
'template': template.get('name'),
'vm_name': vm['name'],
'vm_name': vm.get('name'),
'vm_id': vm['vm_id'],
'order_id': order.id
}