summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-25 03:11:55 -0500
committerJeff Carr <[email protected]>2024-10-25 03:11:55 -0500
commit7b3e24740dd3f9df58a29a42a63de54715e9cba3 (patch)
tree635c530696ed5c43491230cf9a5820b30818e2ce /main.go
parent1effa9c745ac224c3160f3817d4d0ec7af96950d (diff)
works, it's neat, but do I really want this?
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 6 insertions, 0 deletions
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()