[pbs-devel] [PATCH proxmox-backup 1/2] ui: DataStoreContent: improve encrypted column
Dominik Csapak
d.csapak at proxmox.com
Tue Sep 1 11:05:20 CEST 2020
do not count files where we do not have any information
such files exist in the backup dir, but are not in the manifest
so we cannot use those files for determining if the backups are
encrypted or not
this marks encrypted/signed backups with unencrypted client.log.blob files as
encrypted/signed (respectively) instead of 'Mixed'
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
www/DataStoreContent.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/DataStoreContent.js b/www/DataStoreContent.js
index 6a5cec0e..21623020 100644
--- a/www/DataStoreContent.js
+++ b/www/DataStoreContent.js
@@ -30,8 +30,8 @@ Ext.define('pbs-data-store-snapshots', {
let mode = PBS.Utils.cryptmap.indexOf(file['crypt-mode']);
if (mode !== -1) {
crypt[file['crypt-mode']]++;
+ crypt.count++;
}
- crypt.count++;
});
return PBS.Utils.calculateCryptMode(crypt);
--
2.20.1
More information about the pbs-devel
mailing list