Skip to content

Commit

Permalink
Merge pull request #17 from tokudu/fix-stats-tube
Browse files Browse the repository at this point in the history
stats-tube can return NOT_FOUND according to the protocol spec
  • Loading branch information
pascalopitz committed Apr 16, 2014
2 parents 4c7abc7 + 0726e17 commit 5b31fed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/beanstalk_client.js
Expand Up @@ -466,7 +466,7 @@ BeanstalkClient.prototype.statsJob = BeanstalkClient.prototype.stats_job;
BeanstalkClient.prototype.stats_tube = function(tube) {
return this.command({
command: 'stats-tube '+tube+'\r\n',
expected: 'OK',
expected: ['OK', 'NOT_FOUND'],
is_yaml: 1
});
};
Expand Down

0 comments on commit 5b31fed

Please sign in to comment.