From: "Lukas Wagner" <l.wagner@proxmox.com>
To: "Proxmox Datacenter Manager development discussion"
<pdm-devel@lists.proxmox.com>
Subject: applied: [pdm-devel] [PATCH datacenter-manager 1/2] server: api: pbs: rename 'list_snapshots_2' to 'list_snapshots'
Date: Tue, 24 Feb 2026 16:02:16 +0100 [thread overview]
Message-ID: <DGNA75RAU7ZE.MTCCAZ2D4GTQ@proxmox.com> (raw)
In-Reply-To: <20251205110500.1521091-1-d.csapak@proxmox.com>
On Fri Dec 5, 2025 at 12:04 PM CET, Dominik Csapak wrote:
> no functional change intended, just cosmetic
>
> Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
> ---
> server/src/api/pbs/mod.rs | 7 ++-----
> 1 file changed, 2 insertions(+), 5 deletions(-)
>
> diff --git a/server/src/api/pbs/mod.rs b/server/src/api/pbs/mod.rs
> index badefc39..e44a0adf 100644
> --- a/server/src/api/pbs/mod.rs
> +++ b/server/src/api/pbs/mod.rs
> @@ -69,10 +69,7 @@ const DATASTORE_ITEM_SUBDIRS: SubdirMap = &sorted!([
> "namespaces",
> &Router::new().get(&API_METHOD_LIST_NAMESPACES)
> ),
> - (
> - "snapshots",
> - &Router::new().get(&API_METHOD_LIST_SNAPSHOTS_2)
> - ),
> + ("snapshots", &Router::new().get(&API_METHOD_LIST_SNAPSHOTS)),
> ]);
>
> // converts a remote + pbs_api_types::UPID into a RemoteUpid and starts tracking it
> @@ -178,7 +175,7 @@ async fn list_namespaces(
> },
> )]
> /// List the PBS remote's datastores.
> -async fn list_snapshots_2(
> +async fn list_snapshots(
> remote: String,
> datastore: String,
> ns: Option<String>,
applied both patches, thanks!
prev parent reply other threads:[~2026-02-24 15:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-05 11:04 Dominik Csapak
2025-12-05 11:04 ` [pdm-devel] [PATCH datacenter-manager 2/2] server: api: pbs: improve error message for datastore content Dominik Csapak
2026-02-24 15:02 ` Lukas Wagner [this message]
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=DGNA75RAU7ZE.MTCCAZ2D4GTQ@proxmox.com \
--to=l.wagner@proxmox.com \
--cc=pdm-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.