Commit e685d5d6 by Guba Sándor

dashboard: fixing host value form IPAddr to str

parent 686d4a46
...@@ -46,7 +46,7 @@ class VmDetailView(DetailView): ...@@ -46,7 +46,7 @@ class VmDetailView(DetailView):
instance = context['instance'] instance = context['instance']
if instance.node: if instance.node:
port = instance.vnc_port port = instance.vnc_port
host = instance.node.host.ipv4 host = str(instance.node.host.ipv4)
value = signing.dumps({'host': host, value = signing.dumps({'host': host,
'port': port}, key='asdasd') 'port': port}, key='asdasd')
context.update({ context.update({
......
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