ListUserVM result now includes hostname of VM
This commit is contained in:
parent
080933b140
commit
9aeb05987b
1 changed files with 1 additions and 0 deletions
1
main.py
1
main.py
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue