From 5ae9ecc575b195e77d9d0c3a61e33e65b377e9fc Mon Sep 17 00:00:00 2001 From: deflax Date: Mon, 25 Sep 2017 18:00:24 +0300 Subject: [PATCH] vmremove phase 3 --- plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.py b/plugin.py index 77a0fc4..4c00701 100644 --- a/plugin.py +++ b/plugin.py @@ -137,7 +137,7 @@ def vmremove(cubeid): if vm_type == 'lxc': result = proxobject.nodes(slave_name).lxc(vm_id).delete() grid.deletedb(cubeid) - response = { 'status':'DELETE', 'cube': cubeid, 'hostname': vm_name } + response = { 'status':'DELETE', 'cube': cubeid, 'hostname': vm_host } return response