ui: cluster backup: fix running backup with prune settings
The API expects a property string for retention settings, so make sure that's what's passed in. Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
parent
514847b7fb
commit
7f14fad199
@ -880,6 +880,10 @@ Ext.define('PVE.dc.BackupView', {
|
||||
delete job.node;
|
||||
job.all = job.all === true ? 1 : 0;
|
||||
|
||||
if (job['prune-backups']) {
|
||||
job['prune-backups'] = PVE.Parser.printPropertyString(job['prune-backups']);
|
||||
}
|
||||
|
||||
let allNodes = PVE.data.ResourceStore.getNodes();
|
||||
let nodes = allNodes.filter(node => node.status === 'online').map(node => node.node);
|
||||
let errors = [];
|
||||
|
Loading…
Reference in New Issue
Block a user