1
0
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:
treywelsh 2019-04-01 09:57:28 +02:00 committed by Ruben S. Montero
parent 4b81845135
commit 7395745a5f

View File

@ -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
}