updated index definitions

This commit is contained in:
Andris Reinman 2017-06-13 13:45:43 +03:00
parent 309e9e42bd
commit b8875e0523

View file

@ -2142,7 +2142,7 @@ module.exports = done => {
let indexpos = 0; let indexpos = 0;
let ensureIndexes = err => { let ensureIndexes = err => {
if (err) { if (err) {
server.logger.error( server.logger.debug(
{ {
tnx: 'mongo', tnx: 'mongo',
err err
@ -2171,7 +2171,7 @@ module.exports = done => {
return start(); return start();
} }
let index = setupIndexes[indexpos++]; let index = setupIndexes[indexpos++];
server.logger.info( server.logger.debug(
{ {
tnx: 'mongo' tnx: 'mongo'
}, },