mongo-tools/mongodb-tools-fixparam.patch

13 lines
680 B
Diff

diff -Naurp a/mongorestore/filepath.go b/mongorestore/filepath.go
--- a/mongorestore/filepath.go 2018-06-29 18:11:47.000000000 +0000
+++ b/mongorestore/filepath.go 2019-06-18 19:37:20.342889629 +0000
@@ -360,7 +360,7 @@ func (restore *MongoRestore) CreateInten
// Server versions >= 3.0.3 disallow user inserts to system.profile so
// it would likely fail anyway.
if collection == "system.profile" {
- log.Logvf(log.DebugLow, "skipping restore of system.profile collection", db)
+ log.Logvf(log.DebugLow, "skipping restore of system.profile collection %v", db)
skip = true
}
// skip restoring the indexes collection if we are using metadata