[pbs-devel] [PATCH proxmox-backup 2/3] ui: datastore/Content: improve verification actions

Dominik Csapak d.csapak at proxmox.com
Thu Jan 27 15:13:20 CET 2022


verifying a single snapshot is now never skipped because of recent verify
verifying a group will now reverify after 29 days to be consistent
with the 'All OK (old)' display

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/datastore/Content.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/www/datastore/Content.js b/www/datastore/Content.js
index 5aaec85c..d0498bc7 100644
--- a/www/datastore/Content.js
+++ b/www/datastore/Content.js
@@ -388,11 +388,13 @@ Ext.define('PBS.DataStoreContent', {
 		    "backup-type": data["backup-type"],
 		    "backup-id": data["backup-id"],
 		    "backup-time": (data['backup-time'].getTime()/1000).toFixed(0),
+		    "outdated-after": 0, // always reverify single snapshots
 		};
 	    } else {
 		params = {
 		    "backup-type": data.backup_type,
 		    "backup-id": data.backup_id,
+		    "outdated-after": 29, // reverify after 29 days so match with the "old" display
 		};
 	    }
 
-- 
2.30.2






More information about the pbs-devel mailing list