Commit ecf84d14 authored by Antoine Millet's avatar Antoine Millet

Fixed bug with vm actions.

parent 023b4ecf
......@@ -136,7 +136,7 @@ class ClientHandler(OnlineCCHandler):
return self._list(query)
def _vm_action(self, query, method, *args, **kwargs):
vms = self._list(query)
vms = self._list(query + '$vm')
hypervisors = list(self._server.iter_connected_role('hypervisor'))
for hv in hypervisors:
vm_to_start = []
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment