summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-13 00:40:22 -0500
committerJeff Carr <[email protected]>2024-10-13 00:40:22 -0500
commit62e9d8cfb1563ea7dbedf26a0dc593e4227cf413 (patch)
tree69447443957681d21ffecc1b1b4a83670b542242 /structs.go
parentba61b7863168c03812578d74fbe1e4532eb8b6a5 (diff)
cleanup STDOUT debugging
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/structs.go b/structs.go
index e39b8ce..02d1b7f 100644
--- a/structs.go
+++ b/structs.go
@@ -17,7 +17,7 @@ func (b *virtigoT) Enable() {
// this app's variables
type virtigoT struct {
names []string
- hypers []HyperT
+ hypers []*HyperT
droplets []*DropletT
}
@@ -28,6 +28,7 @@ type HyperT struct {
Autoscan bool // to scan or not to scan
Delay time.Duration // how often to poll the hypervisor
Dog *time.Ticker // the watchdog timer itself
+ lastpoll time.Time // the last time the hypervisor polled
}
// the stuff that is needed for a hypervisor