diff options
Diffstat (limited to 'ml/ml.cc')
-rw-r--r-- | ml/ml.cc | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -167,12 +167,14 @@ void ml_cancel_anomaly_detection_threads(RRDHOST *RH) { } } -void ml_chart_update_begin(RRDSET *RS) { +bool ml_chart_update_begin(RRDSET *RS) { Chart *C = reinterpret_cast<Chart *>(RS->ml_chart); if (!C) - return; + return false; C->updateBegin(); + + return true; } void ml_chart_update_end(RRDSET *RS) { |