From 9aeb05987bd1b84e7ac851ce8b84f31647e436bd Mon Sep 17 00:00:00 2001 From: Ahmed Bilal Khalid Date: Mon, 12 Aug 2019 18:36:38 +0500 Subject: [PATCH] ListUserVM result now includes hostname of VM --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index 5132372..c7175e5 100644 --- a/main.py +++ b/main.py @@ -177,6 +177,7 @@ class ListUserVM(Resource): "vm_uuid": vm.key.split("/")[-1], "specs": vm.value["specs"], "status": vm.value["status"], + "hostname": vm.value["hostname"] } ) return {"message": return_vms}, 200