Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.

Commit 9312875

Browse files
authored
Merge pull request #11 from launchdarkly/eb/ch56381/diagnostic
add description parameter so diagnostic events will report dataStoreType as "DynamoDB"
2 parents b2d7925 + 0c0dc9f commit 9312875

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

dynamodb_feature_store.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function DynamoDBFeatureStore(tableName, options) {
1111
if (ttl === null || ttl === undefined) {
1212
ttl = defaultCacheTTLSeconds;
1313
}
14-
return new CachingStoreWrapper(dynamoDBFeatureStoreInternal(tableName, options), ttl);
14+
return new CachingStoreWrapper(dynamoDBFeatureStoreInternal(tableName, options), ttl, 'DynamoDB');
1515
}
1616

1717
function dynamoDBFeatureStoreInternal(tableName, options) {

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"eslint-formatter-pretty": "1.3.0",
1919
"jest": "24.7.1",
2020
"jest-junit": "6.3.0",
21+
"launchdarkly-js-test-helpers": "^1.0.0",
2122
"launchdarkly-node-server-sdk": ">= 5.8.1",
2223
"typescript": "3.0.1"
2324
},

0 commit comments

Comments
 (0)