From: Lukas Wagner <l.wagner@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox] rrd: use renamed types in prrd example as well
Date: Fri, 9 Feb 2024 13:07:05 +0100 [thread overview]
Message-ID: <20240209120705.134706-1-l.wagner@proxmox.com> (raw)
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@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
reply other threads:[~2024-02-09 12:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240209120705.134706-1-l.wagner@proxmox.com \
--to=l.wagner@proxmox.com \
--cc=pbs-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox