runner
This commit is contained in:
parent
0c891f62ef
commit
d34a482a60
6
lxc.js
6
lxc.js
@ -185,17 +185,17 @@ Container.prototype.UpdateFromInfo = function(data){
|
||||
|
||||
|
||||
var lxcORM = function(){
|
||||
this.containers = {}
|
||||
containers = {}
|
||||
this.isReady = false;
|
||||
this.whenReady = [];
|
||||
|
||||
this.list(function(data){
|
||||
for(var idx = data.length; idx--;){
|
||||
console.log(data[idx].name)
|
||||
this.containers[data[idx].name] = new Container(data[idx]);
|
||||
containers[data[idx].name] = new Container(data[idx]);
|
||||
}
|
||||
});
|
||||
|
||||
this.containers = containers
|
||||
this.callReady();
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user