diff options
| author | Jeff Carr <[email protected]> | 2025-02-22 17:48:10 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-22 17:48:10 -0600 |
| commit | 498bfe82f073d5641a42b057512396cc967524c1 (patch) | |
| tree | e1509616a6e29d496f044a30e7e7039c19e38e5d /structs.go | |
| parent | 6ee6fd8a961057494f82194bd90eeb5ceca4980d (diff) | |
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |
