From 923b6fdd7887995d3f3def69eccd254c3763794c Mon Sep 17 00:00:00 2001 From: william Date: Thu, 5 May 2016 00:57:32 -0400 Subject: [PATCH] closer --- routes/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/api.js b/routes/api.js index c5d7efa..0cabb25 100644 --- a/routes/api.js +++ b/routes/api.js @@ -146,7 +146,7 @@ router.get('/info/:name', function(req, res, next){ }); router.get('/list', function(req, res, next) { - return lxc.list(ip, function(data){ + return lxc.list(workers.clworker0.ip, function(data){ return res.json(data); }); });