dns-endpoint-pool
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "dns-endpoint-pool", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Manage and load-balance a pool of service endpoints retrieved from a DNS lookup for a service discovery name.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -29,3 +29,4 @@ var _ = require('underscore'); | ||
updateEndpoints: function (endpoints) { | ||
newEndpoints = endpoints.map(function (info) { | ||
var matchingEndpoint, i; | ||
var newEndpoints = endpoints.map(function (info) { | ||
return new Endpoint(info); | ||
@@ -32,0 +33,0 @@ }); |
22578
382