summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-13 03:20:48 -0500
committerJeff Carr <[email protected]>2024-10-13 03:20:48 -0500
commitffe754a96a68e7cf8905344073e3b1eedb78e94b (patch)
treeedb7819d879fc42ca88a78d7f6c7c6b202bf1843 /structs.go
parente149b3218d26b4996fc76072145efda6eb9f9856 (diff)
track the global killcount of virtigod restarts
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/structs.go b/structs.go
index de73e77..94d7ce5 100644
--- a/structs.go
+++ b/structs.go
@@ -16,9 +16,10 @@ func (b *virtigoT) Enable() {
// this app's variables
type virtigoT struct {
- names []string
- hypers []*HyperT
- droplets []*DropletT
+ names []string
+ hypers []*HyperT
+ droplets []*DropletT
+ killcount int
}
// the stuff that is needed for a hypervisor