formating
This commit is contained in:
1 parent
7616468bfe
commit
b97e9a9351
1 file changed
+7
-7
+7
-7
@@ -56,13 +56,13 @@ router.get('/clone/:template/:name', function(req, res, next){
|
||||
});
|
||||
|
||||
router.get('/destroy/:name', function(req, res, next){
|
||||
lxc.destroy(req.params.name, function(data){
|
||||
if(data){
|
||||
res.json({status: 500, message: data});
|
||||
}else{
|
||||
res.json({status: 200});
|
||||
}
|
||||
});
|
||||
lxc.destroy(req.params.name, function(data){
|
||||
if(data){
|
||||
res.json({status: 500, message: data});
|
||||
}else{
|
||||
res.json({status: 200});
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
router.get('/info/:name', function(req, res, next){
|
||||
|
||||
Reference in new issue
Block a user