Skip to content

Commit 74bd83f

Browse files
authored
Merge pull request #168 from sgrowe/v1
Support point in time recovery
2 parents 7e41861 + ff25f86 commit 74bd83f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

index.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ class ServerlessDynamodbLocal {
130130

131131
if(options && options.online){
132132
this.serverlessLog("Connecting to online tables...");
133-
if (!options.region) {
133+
if (!options.region) {
134134
throw new Error("please specify the region");
135135
}
136136
dynamoOptions = {
@@ -158,7 +158,7 @@ class ServerlessDynamodbLocal {
158158
}
159159

160160
seedHandler() {
161-
const options = this.options;
161+
const options = this.options;
162162
const dynamodb = this.dynamodbOptions(options);
163163

164164
return BbPromise.each(this.seedSources, (source) => {
@@ -279,6 +279,9 @@ class ServerlessDynamodbLocal {
279279
migration.SSESpecification.Enabled = migration.SSESpecification.SSEEnabled;
280280
delete migration.SSESpecification.SSEEnabled;
281281
}
282+
if (migration.PointInTimeRecoverySpecification) {
283+
delete migration.PointInTimeRecoverySpecification;
284+
}
282285
if (migration.Tags) {
283286
delete migration.Tags;
284287
}

0 commit comments

Comments
 (0)