Skip to content

Commit

Permalink
Implement nimbus checker (#2059)
Browse files Browse the repository at this point in the history
  • Loading branch information
pablomendezroyo authored Nov 26, 2024
1 parent 3ecda3b commit 8cf8337
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/stakers/src/stakerComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.`);
Expand Down

0 comments on commit 8cf8337

Please sign in to comment.