From cd051c45f2d70d331a533c2c15d87d513ead5b19 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Fri, 11 Sep 2020 11:29:08 +0200 Subject: [PATCH] reorder --- packages/health-check/src/checks/verbose.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/health-check/src/checks/verbose.js b/packages/health-check/src/checks/verbose.js index c35c291d..190b4477 100644 --- a/packages/health-check/src/checks/verbose.js +++ b/packages/health-check/src/checks/verbose.js @@ -1047,7 +1047,7 @@ function skylinkVerification(done, { name, skylink, bodyHash, metadata }) { const currentMetadata = metadataHeader && JSON.parse(metadataHeader); if (!isEqual(currentMetadata, metadata)) { entry.up = false; - info.metadata = detailedDiff(currentMetadata, metadata); + info.metadata = detailedDiff(metadata, currentMetadata); } if (Object.keys(info).length) entry.info = info; // add info only if it exists