From 35768a14957a5eb15e7399bbc49a7bdaba63fe09 Mon Sep 17 00:00:00 2001 From: pablomendezroyo Date: Tue, 26 Nov 2024 12:52:19 +0100 Subject: [PATCH] Implement nimbus checker --- packages/stakers/src/stakerComponent.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/stakers/src/stakerComponent.ts b/packages/stakers/src/stakerComponent.ts index 461d9271b..0d86303eb 100644 --- a/packages/stakers/src/stakerComponent.ts +++ b/packages/stakers/src/stakerComponent.ts @@ -155,7 +155,9 @@ export class StakerComponent { composeEditor.applyUserSettings(userSettings, { dnpName }); const newSettings = composeEditor.getUserSettings(); - if (!isMatch(previousSettings, newSettings)) { + // 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"))) { composeEditor.write(); forceRecreate = true; logs.info(`Settings for ${dnpName} have changed. Forcing recreation of containers.`);