fix lint issues
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
/* jshint curly:false, latedef:false */
|
/* jshint curly:false, latedef:false */
|
||||||
// args
|
// args
|
||||||
var optimist = require('optimist')
|
var optimist = require('optimist')
|
||||||
.usage("A utility to generate sample log data.\n\nUsage: $0 [options]")
|
.usage('A utility to generate sample log data.\n\nUsage: $0 [options]')
|
||||||
.options({
|
.options({
|
||||||
count: {
|
count: {
|
||||||
alias: 'c',
|
alias: 'c',
|
||||||
@ -14,7 +14,7 @@ var optimist = require('optimist')
|
|||||||
type: 'number',
|
type: 'number',
|
||||||
required: true,
|
required: true,
|
||||||
describe: 'The number of days before and after today, 1 will equal 3 days total.',
|
describe: 'The number of days before and after today, 1 will equal 3 days total.',
|
||||||
default: 1
|
default: 1
|
||||||
},
|
},
|
||||||
host: {
|
host: {
|
||||||
alias: 'h',
|
alias: 'h',
|
||||||
@ -82,7 +82,7 @@ function createIndex(indexName) {
|
|||||||
settings: {
|
settings: {
|
||||||
index: {
|
index: {
|
||||||
number_of_shards: argv.shards,
|
number_of_shards: argv.shards,
|
||||||
number_of_replicas: argv.replicas
|
number_of_replicas: argv.replicas
|
||||||
},
|
},
|
||||||
analysis: {
|
analysis: {
|
||||||
analyzer: {
|
analyzer: {
|
||||||
|
|||||||
Reference in New Issue
Block a user