config issue
This commit is contained in:
parent
3002f0148f
commit
f142b65dae
2
lxc.js
2
lxc.js
@ -120,7 +120,7 @@ module.exports = function(config){
|
||||
info.push(mapOut);
|
||||
|
||||
}
|
||||
|
||||
console.log('info:', info)
|
||||
cbData(info);
|
||||
});
|
||||
};
|
||||
|
@ -72,9 +72,7 @@ router.get('/info/:name', function(req, res, next){
|
||||
});
|
||||
|
||||
router.get('/list', function(req, res, next) {
|
||||
lxc.list(function(data){
|
||||
res.json(data);
|
||||
});
|
||||
lxc.list(res.json(data));
|
||||
});
|
||||
|
||||
module.exports = router;
|
||||
|
Loading…
x
Reference in New Issue
Block a user