diff --git a/runtime/errors.go b/runtime/errors.go index 7d7a9b22415..0d3cb3bf3ca 100644 --- a/runtime/errors.go +++ b/runtime/errors.go @@ -63,8 +63,8 @@ var ( ) type errorBody struct { - Error string `json:"error"` - Code int `json:"code"` + Error string `protobuf:"bytes,1,name=error" json:"error"` + Code int `protobuf:"bytes,2,name=code" json:"code"` } //Make this also conform to proto.Message for builtin JSONPb Marshaler