[pmg-devel] applied-series: [PATCH pmg-api 1/2] api: get group snapshots: take backup-id into account
Wolfgang Bumiller
w.bumiller at proxmox.com
Fri Nov 4 14:28:12 CET 2022
applied & bumped common dep accordingly
On Wed, Jul 20, 2022 at 12:59:46PM +0200, Fabian Ebner wrote:
> instead of assuming that the requested ID is the same as the node in
> the API path. This endpoint is not currently used in the UI AFAICS.
>
> Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
> ---
> src/PMG/API2/PBS/Job.pm | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/PMG/API2/PBS/Job.pm b/src/PMG/API2/PBS/Job.pm
> index 3f775d6..be9cc06 100644
> --- a/src/PMG/API2/PBS/Job.pm
> +++ b/src/PMG/API2/PBS/Job.pm
> @@ -209,7 +209,7 @@ __PACKAGE__->register_method ({
> code => sub {
> my ($param) = @_;
>
> - return get_snapshots($param->{remote}, "host/$param->{node}");
> + return get_snapshots($param->{remote}, "host/$param->{'backup-id'}");
> }});
>
> __PACKAGE__->register_method ({
> --
> 2.30.2
More information about the pmg-devel
mailing list