Skip to content

Commit 7de1381

Browse files
Merge pull request #380 from vbhavsar/vishal/fix-typo
fix: typo in executionsSucceeded
2 parents 44a27f8 + be31d60 commit 7de1381

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ stepFunctions:
255255
- executionsFailed
256256
- executionsAborted
257257
- executionThrottled
258-
- executionSucceeded
258+
- executionsSucceeded
259259
treatMissingData: missing
260260
```
261261

lib/deploy/stepFunctions/compileAlarms.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ const cloudWatchMetricNames = {
1010
executionsFailed: 'ExecutionsFailed',
1111
executionsAborted: 'ExecutionsAborted',
1212
executionThrottled: 'ExecutionThrottled',
13-
executionSucceeded: 'ExecutionSucceeded',
13+
executionsSucceeded: 'ExecutionsSucceeded',
1414
};
1515

1616
const alarmDescriptions = {
1717
executionsTimedOut: 'executions timed out',
1818
executionsFailed: 'executions failed',
1919
executionsAborted: 'executions were aborted',
2020
executionThrottled: 'execution were throttled',
21-
executionSucceeded: 'execution succeeded',
21+
executionsSucceeded: 'executions succeeded',
2222
};
2323

2424
function getCloudWatchAlarms(

lib/deploy/stepFunctions/compileAlarms.schema.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const treatMissingData = Joi.string()
2222

2323
const simpleMetric = Joi.string()
2424
.allow('executionsTimedOut', 'executionsFailed', 'executionsAborted', 'executionThrottled',
25-
'executionSucceeded');
25+
'executionsSucceeded');
2626

2727
const complexMetric = Joi.object().keys({
2828
metric: simpleMetric.required(),

lib/deploy/stepFunctions/compileAlarms.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ describe('#compileAlarms', () => {
6464
'executionsFailed',
6565
'executionsAborted',
6666
'executionThrottled',
67-
'executionSucceeded',
67+
'executionsSucceeded',
6868
],
6969
},
7070
});
@@ -297,7 +297,7 @@ describe('#compileAlarms', () => {
297297
'executionsFailed',
298298
'executionsAborted',
299299
'executionThrottled',
300-
'executionSucceeded',
300+
'executionsSucceeded',
301301
],
302302
treatMissingData: 'ignore',
303303
},
@@ -354,7 +354,7 @@ describe('#compileAlarms', () => {
354354
{ metric: 'executionsFailed', treatMissingData: 'breaching' },
355355
'executionsAborted',
356356
'executionThrottled',
357-
'executionSucceeded',
357+
'executionsSucceeded',
358358
],
359359
treatMissingData: 'ignore',
360360
},

0 commit comments

Comments
 (0)