From baa8fe673081d2f4c97e9c68983a064332dab3e0 Mon Sep 17 00:00:00 2001 From: william Date: Wed, 25 May 2016 16:08:36 -0400 Subject: [PATCH] workers --- routes/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/api.js b/routes/api.js index 54d394c..4a4d0de 100644 --- a/routes/api.js +++ b/routes/api.js @@ -77,7 +77,7 @@ var runner = function(req, res, container){ var makeWokerObj = function(worker){ console.log(worker); - worker.networks.forEach(function(value){ + worker.networks.v4.forEach(function(value){ worker[value.type+'IP'] = value.ip_address; }); worker.ip = worker.privateIP;