mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
B #3114: GOCA - remove deprecated boolean field from response
Signed-off-by: Pierre Lafievre <pierre.lafievre@iguanesolutions.com>
This commit is contained in:
parent
4b81845135
commit
7395745a5f
@ -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
|
||||
@ -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)
|
||||
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user