1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-24 15:15:22 +00:00

fix hostname for user quota connection

This commit is contained in:
catborise 2020-04-06 14:13:10 +03:00
parent d5156303ee
commit 9926edf208

View file

@ -169,7 +169,7 @@ def instance(request, compute_id, vname):
for usr_inst in user_instances: for usr_inst in user_instances:
if connection_manager.host_is_up(usr_inst.instance.compute.type, if connection_manager.host_is_up(usr_inst.instance.compute.type,
usr_inst.instance.compute.hostname): 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.login,
usr_inst.instance.compute.password, usr_inst.instance.compute.password,
usr_inst.instance.compute.type, usr_inst.instance.compute.type,