* [pve-devel] [PATCH storage] pbs: fix namespace handling in list_volumes
@ 2022-07-15 10:47 Fabian Ebner
2022-07-15 11:36 ` [pve-devel] applied: " Thomas Lamprecht
0 siblings, 1 reply; 2+ messages in thread
From: Fabian Ebner @ 2022-07-15 10:47 UTC (permalink / raw)
To: pve-devel
Before af07f67 ("pbs: use vmid parameter in list_snapshots") the
namespace was set via do_raw_client_command, but now it needs to be
set explicitly here.
Fixes: af07f67 ("pbs: use vmid parameter in list_snapshots")
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
---
PVE/Storage/PBSPlugin.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/PVE/Storage/PBSPlugin.pm b/PVE/Storage/PBSPlugin.pm
index 4c1b58c..56632ca 100644
--- a/PVE/Storage/PBSPlugin.pm
+++ b/PVE/Storage/PBSPlugin.pm
@@ -720,6 +720,7 @@ sub list_volumes {
my $param = {};
$param->{'backup-id'} = "$vmid" if defined($vmid);
+ $param->{'ns'} = "$scfg->{namespace}" if defined($scfg->{namespace});
my $data = eval { $conn->get("/api2/json/admin/datastore/$datastore/snapshots", $param); };
die "error listing snapshots - $@" if $@;
--
2.30.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* [pve-devel] applied: [PATCH storage] pbs: fix namespace handling in list_volumes
2022-07-15 10:47 [pve-devel] [PATCH storage] pbs: fix namespace handling in list_volumes Fabian Ebner
@ 2022-07-15 11:36 ` Thomas Lamprecht
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2022-07-15 11:36 UTC (permalink / raw)
To: Proxmox VE development discussion, Fabian Ebner
Am 15/07/2022 um 12:47 schrieb Fabian Ebner:
> Before af07f67 ("pbs: use vmid parameter in list_snapshots") the
> namespace was set via do_raw_client_command, but now it needs to be
> set explicitly here.
argh
>
> Fixes: af07f67 ("pbs: use vmid parameter in list_snapshots")
> Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
> ---
> PVE/Storage/PBSPlugin.pm | 1 +
> 1 file changed, 1 insertion(+)
>
>
applied, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-07-15 11:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-15 10:47 [pve-devel] [PATCH storage] pbs: fix namespace handling in list_volumes Fabian Ebner
2022-07-15 11:36 ` [pve-devel] applied: " Thomas Lamprecht
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.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal