public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox] rrd: use renamed types in prrd example as well
@ 2024-02-09 12:07 Lukas Wagner
  0 siblings, 0 replies; only message in thread
From: Lukas Wagner @ 2024-02-09 12:07 UTC (permalink / raw)
  To: pbs-devel

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





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-09 12:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-09 12:07 [pbs-devel] [PATCH proxmox] rrd: use renamed types in prrd example as well Lukas Wagner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal