Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove deprecated boolean field from response #3115

Merged
merged 2 commits into from
Apr 1, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions src/oca/go/src/goca/goca.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,9 @@ type oneClient struct {
}

type response struct {
status bool
body string
bodyInt int
bodyBool bool
status bool
body string
bodyInt int
}

// Initializes the client variable, used as a singleton
Expand Down Expand Up @@ -140,8 +139,7 @@ func (c *oneClient) endpointCall(url string, method string, args ...interface{})
status bool
body string
bodyInt int64
bodyBool bool
errCode int64
errCode int64
)

xmlArgs := make([]interface{}, len(args)+1)
Expand Down Expand Up @@ -232,7 +230,7 @@ func (c *oneClient) endpointCall(url string, method string, args ...interface{})
}
}

r := &response{status, body, int(bodyInt), bodyBool}
r := &response{status, body, int(bodyInt)}

return r, nil
}
Expand Down