Skip to content

Commit

Permalink
adjust comments and logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Cabecinha84 committed Feb 4, 2025
1 parent b87f485 commit 01b2d30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ZelBack/src/services/appsService.js
Original file line number Diff line number Diff line change
Expand Up @@ -12004,11 +12004,11 @@ async function monitorSharedDBApps() {
const operatorStatusDoubleCheck = await serviceHelper.axiosGet(url).catch((error) => log.error(error));
log.info(`monitorSharedDBApps: ${installedApp.name} operatorStatus double check response ${JSON.stringify(operatorStatusDoubleCheck)}`);
if (operatorStatusDoubleCheck && operatorStatusDoubleCheck.status !== 'OK' && operatorStatus.sequenceNumber === operatorStatusDoubleCheck.sequenceNumber) {
log.info(`monitorSharedDBApps: ${installedApp.name} operatorStatus is not OK and sequence number is not syncing, going to uninstall the app}`);
log.info(`monitorSharedDBApps: ${installedApp.name} operatorStatusDoubleCheck is not OK and sequence number is not syncing, going to uninstall the app}`);
// eslint-disable-next-line no-await-in-loop
await removeAppLocally(installedApp.name, null, true, false, true);
} else {
log.info(`monitorSharedDBApps: ${installedApp.name} operatorStatus is OK or it is syncing}`);
log.info(`monitorSharedDBApps: ${installedApp.name} operatorStatusDoubleCheck is OK or it is syncing}`);
}
} else {
log.info(`monitorSharedDBApps: ${installedApp.name} operatorStatus is OK}`);
Expand Down

0 comments on commit 01b2d30

Please sign in to comment.