Skip to content
This repository was archived by the owner on Dec 1, 2022. It is now read-only.

Commit c387918

Browse files
committed
Fix log message
1 parent a4fe356 commit c387918

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/provisioning/ProvisionerLogging.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ export default class ConfigLogging {
3838
}
3939

4040
if (adjustmentData.isAdjustmentWanted) {
41-
logMessage += ' so an increment is WANTED';
41+
logMessage += adjustmentContext.AdjustmentType === 'increment' ?
42+
' so an increment is WANTED' : ' so a decrement is WANTED';
4243
if (adjustmentData.isAdjustmentAllowed) {
4344
logMessage += ' and is ALLOWED';
4445
} else if (!adjustmentData.isAfterLastDecreaseGracePeriod) {

0 commit comments

Comments
 (0)