From 8c3e803f27d5af38630da914152858789dbff615 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 7 Oct 2025 09:10:36 -0500 Subject: things compile --- main.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'main.go') diff --git a/main.go b/main.go index 353791b..9420f63 100644 --- a/main.go +++ b/main.go @@ -9,6 +9,7 @@ import ( "os" "time" + "go.wit.com/lib/debian" "go.wit.com/lib/gui/prep" "go.wit.com/lib/hostname" "go.wit.com/lib/protobuf/zoopb" @@ -32,9 +33,9 @@ func main() { if argv.Daemon { // turn off timestamps for STDOUT (systemd adds them) log.DaemonMode(true) - me.machine, me.fullpath = zoopb.InitDaemon() + me.machine = debian.InitDaemon() } else { - me.machine, me.fullpath = zoopb.InitMachine() + me.machine = debian.InitMachine() } if argv.Status != nil { @@ -111,7 +112,7 @@ func testURL(urlbase string, pb *zoopb.Machine) error { return err } wsPB.DumpClient() - newpb.Dump() + log.Infof("mem=%d cpus=%d\n", newpb.Memory, newpb.Cpus) log.Info("got error:", err) return err } -- cgit v1.2.3