Commit e9c09351 by Őry Máté

dashboard: fix VmMigrateView.post

parent bd6ed339
......@@ -496,6 +496,8 @@ class VmMigrateView(VmOperationView):
return ctx
def post(self, request, extra=None, *args, **kwargs):
if extra is None:
extra = {}
node = self.request.POST.get("node")
if node:
node = get_object_or_404(Node, pk=node)
......
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 sign in to comment