summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-15 20:59:42 -0600
committerJeff Carr <[email protected]>2024-11-15 20:59:42 -0600
commit706b0418bf68a09ff7b78a1646c280a53be68c97 (patch)
tree6b0dc5c3c10f9360860730f86b76cbd6d4f78836 /main.go
parent0700306530e9d88420c326c9899ddc098b2fb450 (diff)
sending a machine protobuf
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.go b/main.go
index db3e42a..f08acf7 100644
--- a/main.go
+++ b/main.go
@@ -52,6 +52,10 @@ func main() {
// what OS?
me.distro = initDistro()
+ // init my machine protobuf
+ me.machine = new(zoopb.Machine)
+ me.machine.Hostname = me.hostname
+
// init the installed package list
me.packages = new(zoopb.Packages)
initPackages()