]> git.proxmox.com Git - proxmox-backup.git/commit
api2/status: use new rrd::extract_cached_data
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 10 Jun 2020 10:02:58 +0000 (12:02 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 10 Jun 2020 11:31:16 +0000 (13:31 +0200)
commitec8f0424599cdc17bbcb462d445a0d80c9e434e0
tree1dcb3e08c13b12f89b35f28075310b1b4e7ec42d
parent431cc7b185f8a981c6afb2057448a30a718a39e8
api2/status: use new rrd::extract_cached_data

and drop the now unused extract_lists function

this also fixes a bug, where we did not add the datastore to the list at
all when there was no rrd data

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/api2/status.rs
src/rrd/cache.rs