From 5c0807393696beb51e58f2e87c29aee7c210cb7b Mon Sep 17 00:00:00 2001 From: Tripon Alexandru-Ionut Date: Fri, 19 Apr 2019 17:52:28 +0300 Subject: [PATCH] Updated *ensure_indexes message --- migrator/migrator.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/migrator/migrator.go b/migrator/migrator.go index 7cf276f68..30f670ac9 100755 --- a/migrator/migrator.go +++ b/migrator/migrator.go @@ -94,7 +94,7 @@ func (m *Migrator) Migrate(taskIDs []string) (err error, stats map[string]int) { return } } else { - fmt.Printf("The StorDB type is not %s .\n %s works only on %s .\n", utils.MONGO, utils.MetaEnsureIndexes, utils.MONGO) + log.Printf("The StorDB type has to be %s .\n ", utils.MONGO) } if m.dmOut.DataManager().DataDB().GetStorageType() == utils.MONGO { @@ -103,7 +103,7 @@ func (m *Migrator) Migrate(taskIDs []string) (err error, stats map[string]int) { return } } else { - fmt.Printf("The DataDB type is not %s .\n %s works only on %s.\n ", utils.MONGO, utils.MetaEnsureIndexes, utils.MONGO) + log.Printf("The DataDB type has to be %s .\n ", utils.MONGO) } case utils.MetaCDRs: err = m.migrateCDRs()