Skip to content

Commit 7e76905

Browse files
committed
fix readme typos
1 parent 1c82b3d commit 7e76905

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ appConfig.load(function (err, config) {
1717
console.log('config loaded: %j', config);
1818
1919
appConfig.on('changed', function (item) {
20-
console.log('key % changed', item.key);
20+
console.log('key %s changed', item.key);
2121
});
2222
});
2323
```
@@ -28,8 +28,8 @@ passed as an object to constructor
2828
* jsonKeys: set to `true` if configuration values saved as JSON in etcd. Defaults to false (optional)
2929

3030
## Methods
31-
* identify(applicatioName): identifies where to find the etcd keys for config using tree pattern /applications/{applicationName}
32-
* load(callback): callback called when config parsed from etcd. callback signature is `function(err, config)`
31+
* identify(applicationName): identifies where to find the etcd keys for config using tree pattern /applications/{applicationName}
32+
* load(callback): callback called when config parsed from etcd. Callback signature is `function(err, config)`
3333

3434
## Events
3535
* 'changed': fired on changes to etcd keys, returning a `changed` object

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "etcd-config",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "Load and watch config out of etcd",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)