rrd: rustfmt and style fix

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2024-08-09 11:17:50 +02:00
parent c66e5432e7
commit 93d42ad488
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@ use serde::{Deserialize, Serialize};
use proxmox_schema::api;
#[api()]
#[api]
#[derive(Copy, Clone, Serialize, Deserialize)]
#[serde(rename_all = "UPPERCASE")]
/// RRD consolidation mode
@ -13,7 +13,7 @@ pub enum RRDMode {
Average,
}
#[api()]
#[api]
#[derive(Copy, Clone, Serialize, Deserialize)]
#[serde(rename_all = "lowercase")]
/// RRD time frame

View File

@ -104,7 +104,7 @@ impl Cache {
/// * cf=maximum,r=7*86400,n=570 => 10year
///
/// The resulting data file size is about 80KB.
#[deprecated(note="Implement in client code")]
#[deprecated(note = "Implement in client code")]
pub fn create_proxmox_backup_default_rrd(dst: DataSourceType) -> Database {
use crate::rrd::Archive;