mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-01 16:36:06 +00:00
refactor(instances): the VM list calls refresh_instance_database itself
instances.utils.refr() only imported and called computes.utils.refresh_instance_database(); the views import it directly, as they import its siblings from computes.utils. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Kk4h2TcUiaWmU5MUszYSea
This commit is contained in:
parent
e554390ddf
commit
496d3a48ad
15 changed files with 29 additions and 35 deletions
|
|
@ -436,12 +436,6 @@ def migration_target(compute):
|
|||
return compute.hostname
|
||||
|
||||
|
||||
def refr(compute):
|
||||
from computes.utils import refresh_instance_database
|
||||
|
||||
refresh_instance_database(compute)
|
||||
|
||||
|
||||
def dhcpd_conf():
|
||||
"""Optional dhcpd.conf in the application directory; clone names and MAC
|
||||
addresses are taken from its host entries when it exists."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue