Permalink
Browse files

fix error in example in README

  • Loading branch information...
1 parent c1d5c6c commit 7b655d213cef83ecdffc8ae264046bd99f4dc8d4 @pingles committed Sep 12, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
@@ -7,9 +7,9 @@ This provides a JNI-implemented HDFS client allowing node.js applications to nat
There's a run script that will build + run the `demo/demo.js` sample.
var HDFS = require('node-hdfs');
- var c = new HDFS({host:"default", port:0});
+ var client = new HDFS({host:"default", port:0});
- hdfs.list("/tmp/path", function(err, files) {
+ client.list("/tmp/path", function(err, files) {
console.log(files);
});

0 comments on commit 7b655d2

Please sign in to comment.