MCPcopy
hub / github.com/pstadler/flightplan / dynamicHosts

Function dynamicHosts

lib/index.js:384–392  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

382 // late configuration
383 if(typeof config.hosts === 'function') {
384 var dynamicHosts = function() {
385 var future = new Future();
386
387 config.hosts(function(result) {
388 future.return(result);
389 }, context);
390
391 return future;
392 };
393
394 logger.info('Running dynamic hosts configuration');
395

Callers 1

index.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected