From 724c3dda6f0500a75a04d552dfb33223ba27195d Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Wed, 21 Feb 2024 12:28:09 +0100 Subject: [PATCH] rrd: fixup examples with the renamed types Some types were recently renamed but the examples not updated accordingly. Signed-off-by: Wolfgang Bumiller Fixes: 2f942833672d "rrd: spell out hard to understand abbreviations in public types" --- proxmox-rrd/examples/prrd.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proxmox-rrd/examples/prrd.rs b/proxmox-rrd/examples/prrd.rs index 5e098c2c..c2a3789b 100644 --- a/proxmox-rrd/examples/prrd.rs +++ b/proxmox-rrd/examples/prrd.rs @@ -121,7 +121,7 @@ pub fn update_rrd(path: String, time: Option, value: f64) -> Result<(), Err description: "The filename." }, cf: { - type: CF, + type: AggregationFn, }, resolution: { description: "Time resolution", @@ -226,7 +226,7 @@ pub fn last_update(path: String) -> Result<(), Error> { input: { properties: { dst: { - type: DST, + type: DataSourceType, }, path: { description: "The filename to create." -- 2.39.2