Skip to content

Commit

Permalink
Merge pull request #355 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 1401fd0 + 2536b57 commit 19e676f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/tasks/import.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var peliasDocGenerator = require('../streams/peliasDocGenerator');
var overrideLookedUpLocalityAndLocaladmin = require('../streams/overrideLookedUpLocalityAndLocaladmin');

module.exports = function( sourceStream, endStream ){
endStream = endStream || dbclient();
endStream = endStream || dbclient({name: 'geonames'});

return sourceStream.pipe( geonames.pipeline )
.pipe( featureCodeFilterStream.create() )
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"mkdirp": "^0.5.1",
"pelias-blacklist-stream": "^1.0.0",
"pelias-config": "^3.3.0",
"pelias-dbclient": "^2.5.6",
"pelias-dbclient": "^2.8.0",
"pelias-logger": "^1.2.1",
"pelias-model": "^5.7.1",
"pelias-wof-admin-lookup": "^5.0.0",
Expand Down

0 comments on commit 19e676f

Please sign in to comment.