fix(backups/cleanVm): hide misleading incorrect size warning

These warnings are usually false alarms and completely begnin, therefore they
are hidden until the root cause is found and fixed.
This commit is contained in:
Julien Fontanet
2023-03-16 17:11:51 +01:00
parent b4b0a925af
commit a45fb88c48

View File

@@ -541,7 +541,8 @@ exports.cleanVm = async function cleanVm(
// don't warn if the size has changed after a merge
if (!merged && fileSystemSize !== size) {
logWarn('incorrect backup size in metadata', {
// FIXME: figure out why it occurs so often and, once fixed, log the real problems with `logWarn`
console.warn('cleanVm: incorrect backup size in metadata', {
path: metadataPath,
actual: size ?? 'none',
expected: fileSystemSize,