MXS-1220: Add back the old diagnostic entry point
This makes 2.2 maxadmin backwards compatible with 2.1.
This commit is contained in:

committed by
Markus Mäkelä

parent
bab7957952
commit
dd68069471
@ -78,6 +78,7 @@ typedef struct mxs_monitor_object
|
||||
* @param monitor The monitor object
|
||||
*/
|
||||
void (*stopMonitor)(MXS_MONITOR *monitor);
|
||||
void (*diagnostics)(DCB *, const MXS_MONITOR *);
|
||||
|
||||
/**
|
||||
* @brief Return diagnostic information about the monitor
|
||||
@ -86,7 +87,7 @@ typedef struct mxs_monitor_object
|
||||
*
|
||||
* @see jansson.h
|
||||
*/
|
||||
json_t* (*diagnostics)(const MXS_MONITOR *monitor);
|
||||
json_t* (*diagnostics_json)(const MXS_MONITOR *monitor);
|
||||
} MXS_MONITOR_OBJECT;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user