From a314af7f8bfdbbd4234f2d0800a5b95ebfd207fa Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 26 Oct 2024 21:05:16 -0500 Subject: cleanup Signed-off-by: Jeff Carr --- main.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'main.go') diff --git a/main.go b/main.go index ae7069c..9bba77b 100644 --- a/main.go +++ b/main.go @@ -27,12 +27,11 @@ import ( ) var Version string +var hv *hypervisor.Hypervisor //go:embed resources/* var resources embed.FS -var hv *hypervisor.Hypervisor - func main() { if os.Getenv("VIRTIGO_HOME") == "" { homeDir, _ := os.UserHomeDir() @@ -59,7 +58,7 @@ func main() { driver := hypervisor.NewRPCDriver(newConn) hv = hypervisor.New(driver) - poolHypervisor(hv) + pollHypervisor(hv) startHTTP() } -- cgit v1.2.3