Permalink
Browse files

Version bump, and minor fix for parseInt() on headers in listMachines

  • Loading branch information...
1 parent fddd109 commit 03eaf176cc4361b554744620880972fc709e6437 @mcavage mcavage committed Sep 8, 2011
Showing with 3 additions and 2 deletions.
  1. +2 −1 lib/cloudapi.js
  2. +1 −1 package.json
View
@@ -722,7 +722,8 @@ CloudAPI.prototype.listMachines = function(account, options, tags, callback) {
var done = true;
if (headers['x-resource-count'] && headers['x-query-limit'])
- done = (headers['x-resource-count'] < headers['x-query-limit']);
+ done = (parseInt(headers['x-resource-count'], 10) <
+ parseInt(headers['x-query-limit'], 10));
log.debug('CloudAPI._get(%s) -> err=%o, obj=%o, done=%s',
req.path, err, obj, done);
View
@@ -2,7 +2,7 @@
"author": "Joyent, Inc. (http://www.joyent.com)",
"name": "smartdc",
"description": "Client SDK and CLI for the Joyent SmartDataCenter API",
- "version": "6.1.0-7",
+ "version": "6.1.0-8",
"author": "Joyent, Inc",
"homepage": "http://www.joyent.com/software/smartdatacenter",
"repository": {

0 comments on commit 03eaf17

Please sign in to comment.