rrd: fixup examples with the renamed types

Some types were recently renamed but the examples not updated
accordingly.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Fixes: 2f94283367 "rrd: spell out hard to understand abbreviations in public types"
This commit is contained in:
Wolfgang Bumiller 2024-02-21 12:28:09 +01:00
parent 05ff6b545a
commit 724c3dda6f

View File

@ -121,7 +121,7 @@ pub fn update_rrd(path: String, time: Option<u64>, value: f64) -> Result<(), Err
description: "The filename." description: "The filename."
}, },
cf: { cf: {
type: CF, type: AggregationFn,
}, },
resolution: { resolution: {
description: "Time resolution", description: "Time resolution",
@ -226,7 +226,7 @@ pub fn last_update(path: String) -> Result<(), Error> {
input: { input: {
properties: { properties: {
dst: { dst: {
type: DST, type: DataSourceType,
}, },
path: { path: {
description: "The filename to create." description: "The filename to create."