From 9926edf208fb8d019eb673c6d7d41b3a76bf96c7 Mon Sep 17 00:00:00 2001 From: catborise Date: Mon, 6 Apr 2020 14:13:10 +0300 Subject: [PATCH] fix hostname for user quota connection --- instances/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instances/views.py b/instances/views.py index 36add4d..c1d82f0 100644 --- a/instances/views.py +++ b/instances/views.py @@ -169,7 +169,7 @@ def instance(request, compute_id, vname): for usr_inst in user_instances: if connection_manager.host_is_up(usr_inst.instance.compute.type, usr_inst.instance.compute.hostname): - conn = wvmInstance(usr_inst.instance.compute, + conn = wvmInstance(usr_inst.instance.compute.hostname, usr_inst.instance.compute.login, usr_inst.instance.compute.password, usr_inst.instance.compute.type,