[pbs-devel] [PATCH proxmox] rrd: use renamed types in prrd example as well
Lukas Wagner
l.wagner at proxmox.com
Fri Feb 9 13:07:05 CET 2024
These were missed because `cargo build` without `--all` does not build
examples.
Fixes: 2f9428 ("rrd: spell out hard to understand abbreviations in public types")
Signed-off-by: Lukas Wagner <l.wagner at proxmox.com>
---
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<u64>, 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
More information about the pbs-devel
mailing list