Initialize disk_space_checked
Was reading an uninitialized value.
This commit is contained in:
@ -110,6 +110,13 @@ public:
|
||||
*/
|
||||
virtual json_t* diagnostics_json() const;
|
||||
|
||||
/**
|
||||
* Get current time from the monotonic clock.
|
||||
*
|
||||
* @return Current time
|
||||
*/
|
||||
static int64_t get_time_ms();
|
||||
|
||||
protected:
|
||||
MonitorInstance(MXS_MONITOR* pMonitor);
|
||||
|
||||
@ -141,8 +148,6 @@ protected:
|
||||
*/
|
||||
void update_disk_space_status(MXS_MONITORED_SERVER* pMonitored_server);
|
||||
|
||||
static int64_t get_time_ms();
|
||||
|
||||
/**
|
||||
* @brief Configure the monitor.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user