summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-22 17:48:10 -0600
committerJeff Carr <[email protected]>2025-02-22 17:48:10 -0600
commit498bfe82f073d5641a42b057512396cc967524c1 (patch)
treee1509616a6e29d496f044a30e7e7039c19e38e5d /structs.go
parent6ee6fd8a961057494f82194bd90eeb5ceca4980d (diff)
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/structs.go b/structs.go
index edd304b..7b68e77 100644
--- a/structs.go
+++ b/structs.go
@@ -3,7 +3,7 @@ package main
import (
"time"
- pb "go.wit.com/lib/protobuf/virtbuf"
+ "go.wit.com/lib/protobuf/virtpb"
)
var me virtigoT
@@ -20,8 +20,8 @@ func (b *virtigoT) Enable() {
// this app's variables
type virtigoT struct {
- cluster *pb.Cluster // basic cluster settings
- hmap map[*pb.Hypervisor]*HyperT // map to the local struct
+ cluster *virtpb.Cluster // basic cluster settings
+ hmap map[*virtpb.Hypervisor]*HyperT // map to the local struct
names []string
hypers []*HyperT
killcount int
@@ -35,7 +35,7 @@ type virtigoT struct {
// the stuff that is needed for a hypervisor
type HyperT struct {
- pb *pb.Hypervisor // the Hypervisor protobuf
+ pb *virtpb.Hypervisor // the Hypervisor protobuf
dog *time.Ticker // the watchdog timer itself
lastpoll time.Time // the last time the hypervisor polled
lastDroplets map[string]time.Time // the vm's in the last poll