update_engine_events.go: Add a custom "InstallStarted" event.

This can help us to know how many clusters have clicked "start upgrade",
plus those in automatic mode.
This commit is contained in:
Yifan Gu 2017-08-07 12:59:09 -07:00
parent 1833613ed6
commit 13e4359083

View file

@ -32,6 +32,10 @@ var (
Type: omaha.EventTypeUpdateDownloadFinished,
Result: omaha.EventResultSuccess,
}
EventInstallStarted = &omaha.EventRequest{
Type: omaha.EventTypeInstallStarted,
Result: omaha.EventResultSuccess,
}
EventInstalled = &omaha.EventRequest{
Type: omaha.EventTypeUpdateComplete,
Result: omaha.EventResultSuccess,