[YamlDoc] add section description logging

This commit is contained in:
spalger
2016-02-22 10:39:42 -08:00
parent ece9fa6da8
commit aae2d96d56
3 changed files with 25 additions and 8 deletions

View File

@ -2,25 +2,22 @@ var BROWSER = process.env.browser;
var VERBOSE = process.env.VERBOSE;
var JENKINS = !!process.env.JENKINS_HOME;
var es;
if (BROWSER) {
var es = window.elasticsearch;
es = window.elasticsearch;
} else {
var es = require('../../../src/elasticsearch');
es = require('../../../src/elasticsearch');
}
var _ = require('../../../src/lib/utils');
var path = require('path');
var fs = require('fs');
var async = require('async');
var fromRoot = _.bindKey(path, 'join', require('find-root')(__dirname));
var Bluebird = require('bluebird');
// current client
var client = null;
// when set to a boolean, hold the test of a ping
var externalExists;
module.exports = {
create: function create(apiVersion, port, host, cb) {
// create a client and ping the server for up to 15 seconds