summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-15 09:11:45 -0600
committerJeff Carr <[email protected]>2025-02-15 12:21:28 -0600
commit8eed7faa7c123ab64b013f3362be35248a389d03 (patch)
treeb4c00d52e7127b69f36c6c831594efc4a2aa1211 /structs.go
parent8ad5e779311a5b7be1dd22ee92e582902ba33ed1 (diff)
try to debug Unmarshal() panic
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/structs.go b/structs.go
index 42846ee..f3978c3 100644
--- a/structs.go
+++ b/structs.go
@@ -1,3 +1,6 @@
+// Copyright 2017-2025 WIT.COM Inc. All rights reserved.
+// Use of this source code is governed by the GPL 3.0
+
package main
import (
@@ -18,6 +21,7 @@ type stuff struct {
distro string // debian,redhat,gentoo,macos,wincrap
packages *zoopb.Packages // installed packages and versions
machines *zoopb.Machines // every machine that has reported itself to the zookeeper
+ machines2 *zoopb.Machines // every machine that has reported itself to the zookeeper
targets map[string]string // what versions the machines should be running
upgrade map[string]bool // use this to trigger builds
myGui *gui.Node // the gui toolkit handle