ListUserVM result now includes hostname of VM

This commit is contained in:
ahmadbilalkhalid 2019-08-12 18:36:38 +05:00
parent 080933b140
commit 9aeb05987b

View file

@ -177,6 +177,7 @@ class ListUserVM(Resource):
"vm_uuid": vm.key.split("/")[-1], "vm_uuid": vm.key.split("/")[-1],
"specs": vm.value["specs"], "specs": vm.value["specs"],
"status": vm.value["status"], "status": vm.value["status"],
"hostname": vm.value["hostname"]
} }
) )
return {"message": return_vms}, 200 return {"message": return_vms}, 200