This commit is contained in:
William Mantly 2016-02-08 17:05:18 -05:00
parent a74d7130d7
commit 3b89660ef1

3
lxc.js
View File

@ -4,7 +4,6 @@ var extend = require('node.extend');
var parseArgs = function(config){
console.log(config)
var all = Object.keys(config.defaults);
// console.log(all)
for(var i=config.required.length; i--;){
@ -185,7 +184,7 @@ Container.prototype.info = function(callback){
};
Container.prototype.updateFromInfo = function(data){
var key = Object.keys(data);
var keys = Object.keys(data);
for(var i=keys.length; i--;){
this[key[i]] = data[key[i]];
}