This is an automated email from the ASF dual-hosted git repository. cbickel pushed a commit to branch tid in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-client-go.git
commit a945da18428c87e414f28ced51866d6b740e6dc7 Author: Christian Bickel <cbic...@de.ibm.com> AuthorDate: Tue Apr 24 08:20:58 2018 +0200 Handle error code (tid) not as int. --- whisk/client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/whisk/client.go b/whisk/client.go index 7b4862f..85ac505 100644 --- a/whisk/client.go +++ b/whisk/client.go @@ -602,12 +602,12 @@ func parseSuccessResponse(resp *http.Response, data []byte, v interface{}) *http // Here's an example error response body with HTTP status code == 400 // { // "error": "namespace contains invalid characters", -// "code": 1422870 +// "code": "1422870" // } type ErrorResponse struct { Response *http.Response // HTTP response that caused this error ErrMsg *interface{} `json:"error"` // error message string - Code *int64 `json:"code"` // validation error code + Code *interface{} `json:"code"` // validation error code (tid) } type AppErrorResult struct { -- To stop receiving notification emails like this one, please contact cbic...@apache.org.