protocol: fix data type for event errorcode, should be an int

This commit is contained in:
Michael Marineau 2017-06-06 17:03:32 -07:00
parent 03222d488c
commit 9ed95f2e49
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ type PingRequest struct {
type EventRequest struct {
Type EventType `xml:"eventtype,attr"`
Result EventResult `xml:"eventresult,attr"`
ErrorCode string `xml:"errorcode,attr,omitempty"`
ErrorCode int `xml:"errorcode,attr,omitempty"`
NextVersion string `xml:"nextversion,attr,omitempty"`
PreviousVersion string `xml:"previousversion,attr,omitempty"`
}