1
0
mirror of https://github.com/rancher/norman.git synced 2025-09-05 09:10:31 +00:00
This commit is contained in:
Darren Shepherd
2017-12-05 09:21:12 -07:00
parent 5ec6a8d719
commit 18d3f69aa8
17 changed files with 362 additions and 88 deletions

View File

@@ -23,7 +23,7 @@ func ErrorHandler(request *types.APIContext, err error) {
func toError(apiError *APIError) map[string]interface{} {
e := map[string]interface{}{
"type": "/v1-meta/schemas/error",
"type": "/meta/schemas/error",
"code": apiError.code.code,
"message": apiError.message,
}