Skip to content

Commit 60a5ce3

Browse files
committed
Support PointInTimeRecoverySpecification
1 parent 3aece40 commit 60a5ce3

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
@@ -124,7 +124,7 @@ class ServerlessDynamodbLocal {
124124

125125
if(options && options.online){
126126
this.serverlessLog("Connecting to online tables...");
127-
if (!options.region) {
127+
if (!options.region) {
128128
throw new Error("please specify the region");
129129
}
130130
dynamoOptions = {
@@ -152,7 +152,7 @@ class ServerlessDynamodbLocal {
152152
}
153153

154154
seedHandler() {
155-
const options = this.options;
155+
const options = this.options;
156156
const dynamodb = this.dynamodbOptions(options);
157157

158158
return BbPromise.each(this.seedSources, (source) => {
@@ -273,6 +273,9 @@ class ServerlessDynamodbLocal {
273273
migration.SSESpecification.Enabled = migration.SSESpecification.SSEEnabled;
274274
delete migration.SSESpecification.SSEEnabled;
275275
}
276+
if (migration.PointInTimeRecoverySpecification) {
277+
delete migration.PointInTimeRecoverySpecification
278+
}
276279
if (migration.Tags) {
277280
delete migration.Tags;
278281
}

0 commit comments

Comments
 (0)