cleanup: move rrd cache related code into extra file
This commit is contained in:
@ -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,
|
||||
|
@ -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: {
|
||||
|
Reference in New Issue
Block a user