From 7b3e24740dd3f9df58a29a42a63de54715e9cba3 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 25 Oct 2024 03:11:55 -0500 Subject: works, it's neat, but do I really want this? Signed-off-by: Jeff Carr --- main.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'main.go') diff --git a/main.go b/main.go index cb398d2..ade0ccc 100644 --- a/main.go +++ b/main.go @@ -9,7 +9,9 @@ import ( "path/filepath" "time" + "github.com/google/uuid" "go.wit.com/dev/alexflint/arg" + pb "go.wit.com/lib/protobuf/virtbuf" "go.wit.com/log" ) @@ -40,6 +42,10 @@ func main() { me.unstable = time.Now() // initialize the grid as unstable me.delay = 5 * time.Second // how often to poll the hypervisors me.changed = false + me.events = new(pb.Events) + u := uuid.New() + me.events.Uuid = u.String() + me.events.Version = "dirty v1" cfgfile() -- cgit v1.2.3