diff options
| author | Jeff Carr <[email protected]> | 2024-10-25 03:11:55 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-25 03:11:55 -0500 |
| commit | 7b3e24740dd3f9df58a29a42a63de54715e9cba3 (patch) | |
| tree | 635c530696ed5c43491230cf9a5820b30818e2ce /main.go | |
| parent | 1effa9c745ac224c3160f3817d4d0ec7af96950d (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.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() |
