check for empty kinesis stream
parent
dadb015f3f
commit
4fee759b56
|
|
@ -139,9 +139,9 @@ class AWS {
|
||||||
})
|
})
|
||||||
.promise();
|
.promise();
|
||||||
iterator = records.NextShardIterator;
|
iterator = records.NextShardIterator;
|
||||||
core.info(
|
if (records.Records.length > 0){
|
||||||
Buffer.from(Buffer.from(records.Records[0].Data).toString('base64')).toString('base64'),
|
core.info(Buffer.from(records.Records[0].Data).toString('base64'));
|
||||||
);
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
await ECS.waitFor('tasksStopped', {
|
await ECS.waitFor('tasksStopped', {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue