Skip to content

Commit

Permalink
Merge pull request #210 from pelias/dbclient-name
Browse files Browse the repository at this point in the history
feat(logger): Use dbclient name functionality
  • Loading branch information
orangejulius authored Feb 22, 2019
2 parents c5b623b + 1b08a40 commit 8a3a65e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ else if( tty.isatty( process.stdin ) ){
var input = argv.file ? fs.createReadStream( argv.file ) : process.stdin;

// write to stdout or elasticsearch
var output = !!argv.db ? dbclient() : stringify;
var output = !!argv.db ? dbclient({name: 'polylines'}) : stringify;

// run the importer
pipeline( input, output );
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"geojson-extent": "^0.3.2",
"lodash": "^4.17.4",
"minimist": "^1.2.0",
"pelias-dbclient": "^2.5.6",
"pelias-dbclient": "^2.8.0",
"pelias-config": "^3.0.2",
"pelias-logger": "^1.2.1",
"pelias-model": "^5.5.2",
Expand Down

0 comments on commit 8a3a65e

Please sign in to comment.