mirror of
https://github.com/rancher/norman.git
synced 2025-09-05 09:10:31 +00:00
Updates
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
Reference in New Issue
Block a user