cleanup: move rrd cache related code into extra file

This commit is contained in:
Dietmar Maurer
2021-10-14 07:48:32 +02:00
parent ddafb28572
commit fae4f6c509
5 changed files with 97 additions and 93 deletions

View File

@ -9,7 +9,7 @@ use pbs_api_types::{
NODE_SCHEMA, RRDMode, RRDTimeFrame, PRIV_SYS_AUDIT,
};
use crate::extract_rrd_data;
use crate::rrd_cache::extract_rrd_data;
pub fn create_value_from_rrd(
basedir: &str,

View File

@ -22,7 +22,7 @@ use pbs_datastore::DataStore;
use pbs_config::CachedUserInfo;
use crate::tools::statistics::{linear_regression};
use crate::extract_rrd_data;
use crate::rrd_cache::extract_rrd_data;
#[api(
returns: {