This commit is contained in:
wmantly committed 2016-05-25 16:08:36 -04:00
1 parent 16f91f01a7
commit baa8fe6730
1 file changed
+1 -1
+1 -1
View File
@@ -77,7 +77,7 @@ var runner = function(req, res, container){
var makeWokerObj = function(worker){ var makeWokerObj = function(worker){
console.log(worker); console.log(worker);
worker.networks.forEach(function(value){ worker.networks.v4.forEach(function(value){
worker[value.type+'IP'] = value.ip_address; worker[value.type+'IP'] = value.ip_address;
}); });
worker.ip = worker.privateIP; worker.ip = worker.privateIP;