summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
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()