diff options
| author | Jeff Carr <[email protected]> | 2024-10-26 21:05:16 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-26 21:05:16 -0500 |
| commit | a314af7f8bfdbbd4234f2d0800a5b95ebfd207fa (patch) | |
| tree | dc9c294148086b47b2b4a43513a7138d21e90950 /main.go | |
| parent | 65b61769117db371c4ec8fc0094d67b8c1075c1b (diff) | |
cleanup
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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() } |
