From 33ccc10001d6a05d4fa9cd888bc7887a11100a90 Mon Sep 17 00:00:00 2001 From: pablomendezroyo Date: Tue, 26 Nov 2024 16:20:50 +0100 Subject: [PATCH] Fix check typo --- packages/stakers/src/stakerComponent.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/stakers/src/stakerComponent.ts b/packages/stakers/src/stakerComponent.ts index 0d86303eb..53dc78615 100644 --- a/packages/stakers/src/stakerComponent.ts +++ b/packages/stakers/src/stakerComponent.ts @@ -154,10 +154,15 @@ export class StakerComponent { composeEditor.applyUserSettings(userSettings, { dnpName }); const newSettings = composeEditor.getUserSettings(); + if (dnpName === "nimbus.dnp.dappnode.eth") { + logs.info("nimbus.dnp.dappnode.eth newSettings: ", JSON.stringify(newSettings)); + } + + logs.info("set installed staker pkg config for dnp: ", dnpName); // TODO: remove nimbus condition once nimbus published with multi-service // isMatch returns true when migrating from single-service to multi-service in the nimbus package - if (!isMatch(previousSettings, newSettings || dnpName.includes("nimbus"))) { + if (!isMatch(previousSettings, newSettings) || dnpName.includes("nimbus")) { composeEditor.write(); forceRecreate = true; logs.info(`Settings for ${dnpName} have changed. Forcing recreation of containers.`);