MXS-1220: Unify resource member naming
All resoures now use the `state` member to describe their internal state. This includes servers, services and monitors. This means that the `status` keyword can be reserved for something else and it can be removed until it is needed again. Changed the module maturity field to `maturity` to better describe its purpose.
This commit is contained in:
@ -142,7 +142,6 @@ extern const char CN_SESSIONS[];
|
||||
extern const char CN_SKIP_PERMISSION_CHECKS[];
|
||||
extern const char CN_SOCKET[];
|
||||
extern const char CN_STATE[];
|
||||
extern const char CN_STATUS[];
|
||||
extern const char CN_SSL[];
|
||||
extern const char CN_SSL_CA_CERT[];
|
||||
extern const char CN_SSL_CERT[];
|
||||
|
@ -95,10 +95,11 @@ json_t* mxs_json_pointer(json_t* json, const char* json_ptr);
|
||||
/**
|
||||
* @brief Return a JSON formatted error
|
||||
*
|
||||
* @param err Error description
|
||||
* @param format Format string
|
||||
* @param ... Variable argument list
|
||||
*
|
||||
* @return The error as JSON
|
||||
*/
|
||||
json_t* mxs_json_error(const char* err);
|
||||
json_t* mxs_json_error(const char* format, ...);
|
||||
|
||||
MXS_END_DECLS
|
||||
|
Reference in New Issue
Block a user