Skip to content

Commit

Permalink
include new scale status
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronkvanmeerten committed Apr 19, 2024
1 parent 4eb8075 commit b48193a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/group_report.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,9 @@ export default class GroupReportGenerator {
shutdownError: instanceState.shutdownError,
isScaleDownProtected: false,
};
if (instanceState.shutdownStatus) {
if (instanceState.shutdownComplete) {
instanceReport.scaleStatus = 'SHUTDOWN COMPLETE';
} else if (instanceState.shutdownStatus) {
instanceReport.scaleStatus = 'SHUTDOWN';
} else if (instanceState.status.provisioning) {
instanceReport.scaleStatus = 'PROVISIONING';
Expand Down

0 comments on commit b48193a

Please sign in to comment.