rename cached_traffic_control.rs to traffic_control_cache.rs, improve dev docs

Keep things inside crate::traffic_control_cache (do not pollute root namespace).

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
This commit is contained in:
Dietmar Maurer
2022-02-14 13:44:27 +01:00
parent 192ece47fb
commit e705b3057f
4 changed files with 31 additions and 7 deletions

View File

@ -8,7 +8,7 @@ use pbs_api_types::{
TrafficControlRule, PRIV_SYS_AUDIT,
};
use crate::TRAFFIC_CONTROL_CACHE;
use crate::traffic_control_cache::TRAFFIC_CONTROL_CACHE;
#[api(
properties: {