summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-18 07:49:34 -0600
committerJeff Carr <[email protected]>2024-11-18 07:49:34 -0600
commit82c559e6579f950b11e2fae1afc67660a14c0629 (patch)
tree89e840591ed940de5226c15fc395e358f1c4ac26 /main.go
parent0b78c1f2d15608a9f6ddfaa977ef0f44dab77073 (diff)
apt update triggersv0.0.4
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.go b/main.go
index 1eb6adc..b47b6eb 100644
--- a/main.go
+++ b/main.go
@@ -48,6 +48,8 @@ func main() {
me.hostname, _ = os.Hostname()
me.pollDelay = 10 * time.Second
me.machines = new(zoopb.Machines)
+ me.targets = make(map[string]string) // keep track of what versions the machines should be running
+ me.upgrade = make(map[string]bool) // used to trigger upgrade attempts
go NewWatchdog()