Commit 71af1141 authored by Vangelis Koukis's avatar Vangelis Koukis
Browse files

Fix breakage in get_console() action

parent e5181cda
......@@ -77,7 +77,7 @@ def get_console(request, vm, args):
vnc = { 'host': '', 'port': sport, 'password': passwd }
# Format to be reviewed by [verigak], FIXME
if request.type == 'xml':
if request.serialization == 'xml':
mimetype = 'application/xml'
data = render_to_string('vnc.xml', {'vnc': vnc})
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