protocol: change IsMachine flag to int

This flag is a boolean "0" or "1", with "0" as the default so keeping
the "omitempty" xml option is ok.
This commit is contained in:
Michael Marineau 2017-05-17 15:03:05 -07:00
parent d8ad567e7f
commit afab572db3

View file

@ -34,7 +34,7 @@ type Request struct {
Apps []*AppRequest `xml:"app"`
Protocol string `xml:"protocol,attr"`
InstallSource string `xml:"installsource,attr,omitempty"`
IsMachine string `xml:"ismachine,attr,omitempty"`
IsMachine int `xml:"ismachine,attr,omitempty"`
RequestID string `xml:"requestid,attr,omitempty"`
SessionID string `xml:"sessionid,attr,omitempty"`
TestSource string `xml:"testsource,attr,omitempty"`