From 13e43590831856cb44fa1be427641385139b8501 Mon Sep 17 00:00:00 2001 From: Yifan Gu Date: Mon, 7 Aug 2017 12:59:09 -0700 Subject: [PATCH] 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. --- omaha/client/update_engine_events.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/omaha/client/update_engine_events.go b/omaha/client/update_engine_events.go index e20a70a..0dfdc83 100644 --- a/omaha/client/update_engine_events.go +++ b/omaha/client/update_engine_events.go @@ -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,