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

Commit 1e8fd3f

Browse files
authored
add description parameter so diagnostic events will report dataStoreType as "Consul" (#4)
* add description parameter so diagnostic events will report dataStoreType as "Consul" * add test dependency
1 parent 0e2a418 commit 1e8fd3f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

consul_feature_store.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function ConsulFeatureStore(options) {
1212
if (ttl === null || ttl === undefined) {
1313
ttl = defaultCacheTTLSeconds;
1414
}
15-
return new CachingStoreWrapper(consulFeatureStoreInternal(options), ttl);
15+
return new CachingStoreWrapper(consulFeatureStoreInternal(options), ttl, 'Consul');
1616
}
1717

1818
function consulFeatureStoreInternal(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)