diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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() |
