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."