Skip to content

Commit

Permalink
Fix activity message issue for the application deployed
Browse files Browse the repository at this point in the history
  • Loading branch information
TimothyAsirJeyasing committed Sep 20, 2023
1 parent 6cd4948 commit e9f98ab
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,15 @@ const getCurrentActivity = (
currentStatus,
failoverCluster,
});
} else if (
[DRPC_STATUS.Deployed, DRPC_STATUS.Deployed].includes(
currentStatus as DRPC_STATUS
)
) {
return t('{{ currentStatus }} to {{ preferredCluster }}', {
currentStatus,
preferredCluster,
});
} else {
return t('Unknown');
}
Expand Down
1 change: 1 addition & 0 deletions packages/mco/constants/disaster-recovery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export enum DRPC_STATUS {
Relocating = 'Relocating',
FailingOver = 'FailingOver',
Relocated = 'Relocated',
Deployed = 'Deployed',
}

// DR cluster type
Expand Down

0 comments on commit e9f98ab

Please sign in to comment.