From d10394fc6620fb6373cc803892571ba057e27edf Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 27 Nov 2023 15:37:35 +0100 Subject: [PATCH] tree-wide: run cargo fmt Signed-off-by: Thomas Lamprecht --- pbs-api-types/src/metrics.rs | 1 - pbs-api-types/src/node.rs | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pbs-api-types/src/metrics.rs b/pbs-api-types/src/metrics.rs index be5ff27a..99df88a7 100644 --- a/pbs-api-types/src/metrics.rs +++ b/pbs-api-types/src/metrics.rs @@ -147,7 +147,6 @@ pub struct InfluxDbHttp { pub comment: Option, } - #[api] #[derive(Copy, Clone, Deserialize, Serialize, PartialEq, Eq, PartialOrd, Ord)] /// Type of the metric server diff --git a/pbs-api-types/src/node.rs b/pbs-api-types/src/node.rs index 704215bb..9033d586 100644 --- a/pbs-api-types/src/node.rs +++ b/pbs-api-types/src/node.rs @@ -1,9 +1,8 @@ -use serde::{Deserialize, Serialize}; use proxmox_schema::*; +use serde::{Deserialize, Serialize}; use crate::StorageStatus; - #[api] #[derive(Serialize, Deserialize, Default)] #[serde(rename_all = "kebab-case")]