This commit is contained in:
2016-02-04 13:50:29 -05:00
parent 7794e4b2ca
commit f46c99c9a8
2 changed files with 32 additions and 8 deletions

View File

@ -15,6 +15,7 @@ var runner = function(req, res, ip){
return res.json(body);
});
};
var addToRedis = function(){
lxc.info(req.params.name, null, function(data){
var domain = req.query.domain || 'vm42.us';
@ -35,7 +36,7 @@ router.get('/start/:name', function(req, res, next){
if(!data){
return res.json({status: 500, name: req.params.name, message: data});
}else{
res.json({})
res.json({});
}
});
});