From 036aedf2d780dddaa464e6b24baf869975ae6b7b Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Thu, 4 May 2017 17:13:22 -0700 Subject: [PATCH] protocol: remove stray Event type The Event struct was split into EventRequest and EventResponse back in 75a1125f but the older now unused type was never deleted. --- omaha/protocol.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/omaha/protocol.go b/omaha/protocol.go index 90daf07..98cce51 100644 --- a/omaha/protocol.go +++ b/omaha/protocol.go @@ -237,14 +237,6 @@ type OS struct { Arch string `xml:"arch,attr,omitempty"` } -type Event struct { - Type EventType `xml:"eventtype,attr"` - Result EventResult `xml:"eventresult,attr"` - PreviousVersion string `xml:"previousversion,attr,omitempty"` - ErrorCode string `xml:"errorcode,attr,omitempty"` - Status string `xml:"status,attr,omitempty"` -} - type URL struct { CodeBase string `xml:"codebase,attr"` }