diff options
Diffstat (limited to '')
-rw-r--r-- | src/database/contexts/worker.c (renamed from database/contexts/worker.c) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/database/contexts/worker.c b/src/database/contexts/worker.c index 9d7c18863..2aae8363d 100644 --- a/database/contexts/worker.c +++ b/src/database/contexts/worker.c @@ -239,7 +239,7 @@ bool rrdmetric_update_retention(RRDMETRIC *rm) { STORAGE_ENGINE *eng = rrdhost->db[tier].eng; time_t first_time_t, last_time_t; - if (eng->api.metric_retention_by_uuid(rrdhost->db[tier].instance, &rm->uuid, &first_time_t, &last_time_t)) { + if (eng->api.metric_retention_by_uuid(rrdhost->db[tier].si, &rm->uuid, &first_time_t, &last_time_t)) { if (first_time_t < min_first_time_t) min_first_time_t = first_time_t; |