diff --git a/lib/triton.js b/lib/triton.js index b398b30..5d398b9 100644 --- a/lib/triton.js +++ b/lib/triton.js @@ -325,8 +325,8 @@ Triton.prototype.getInstance = function getInstance(name, cb) { return next(); } } - this.cloudapi.getMachine(uuid, function (err, inst) { - inst = inst; + self.cloudapi.getMachine(uuid, function (err, inst_) { + inst = inst_; next(err); }); },