[pbs-devel] [PATCH proxmox-backup 1/2] ui: tape/TapeRestore: fix restoring without mapping
Dominik Csapak
d.csapak at proxmox.com
Thu Apr 8 08:19:09 CEST 2021
any comment?
On 3/29/21 1:25 PM, Dominik Csapak wrote:
> we have to delete the 'mapping' variable in any case since it's not
> a valid api parameter
>
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
> www/tape/window/TapeRestore.js | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/www/tape/window/TapeRestore.js b/www/tape/window/TapeRestore.js
> index a9deb745..d33080e4 100644
> --- a/www/tape/window/TapeRestore.js
> +++ b/www/tape/window/TapeRestore.js
> @@ -30,8 +30,8 @@ Ext.define('PBS.TapeManagement.TapeRestoreWindow', {
>
> if (values.mapping) {
> datastores.push(values.mapping);
> - delete values.mapping;
> }
> + delete values.mapping;
>
> values.store = datastores.join(',');
>
>
More information about the pbs-devel
mailing list