diff --git a/lxc.js b/lxc.js index 9cea3e2..a610439 100644 --- a/lxc.js +++ b/lxc.js @@ -186,7 +186,7 @@ Container.prototype.UpdateFromInfo = function(data){ var lxcORM = function(){ this.containers = {} - lxc.list(function(data){ + this.list(function(data){ for(var idx = data.length; idx--;){ container[data[idx].name] = new Container(data[idx]); }