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:
parent
d8ad567e7f
commit
afab572db3
1 changed files with 1 additions and 1 deletions
|
@ -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"`
|
||||
|
|
Loading…
Reference in a new issue