From fe2145be1c49c339162d481f41424e8e9bf8ad62 Mon Sep 17 00:00:00 2001 From: mzhong820 Date: Wed, 1 Mar 2023 12:01:24 -0500 Subject: [PATCH] update fmt --- src/scaleio.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/scaleio.rs b/src/scaleio.rs index 5cd1447..45fc9d9 100644 --- a/src/scaleio.rs +++ b/src/scaleio.rs @@ -2512,6 +2512,18 @@ impl IntoPoint for SystemStatistics { ); } + if let Some(net_unused_capacity_in_kb) = &self.net_unused_capacity_in_kb { + p.add_field( + "net_unused_capacity_in_kb", + TsValue::Long(*net_unused_capacity_in_kb), + ); + } + + p.add_field( + "at_rest_capacity_in_kb", + TsValue::Long(self.at_rest_capacity_in_kb), + ); + points.push(p); points }