Skip to content

Commit

Permalink
Fix check typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pablomendezroyo committed Nov 26, 2024
1 parent 8cf8337 commit 33ccc10
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/stakers/src/stakerComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.`);
Expand Down

0 comments on commit 33ccc10

Please sign in to comment.