Skip to content

Commit

Permalink
Missing } in watch example
Browse files Browse the repository at this point in the history
  • Loading branch information
tcrall committed Oct 19, 2016
1 parent f26903c commit 07d120d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1914,7 +1914,7 @@ Options
Usage

``` javascript
var watch = consul.watch({ method: consul.kv.get, options: { key: 'test' });
var watch = consul.watch({ method: consul.kv.get, options: { key: 'test' }});

watch.on('change', function(data, res) {
console.log('data:', data);
Expand Down

0 comments on commit 07d120d

Please sign in to comment.