diff options
author | Dianna Hohensee <dianna.hohensee@mongodb.com> | 2020-05-13 17:21:24 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-05-14 18:47:42 +0000 |
commit | 4ad639d67072c0dfa0e25289b7b938c2c72b209e (patch) | |
tree | accb11d61196cf7dcc24305b9f96f40e011454ef /src/mongo/db/s/check_sharding_index_command.cpp | |
parent | ac93489304b13a7349b303f3f0e5c57210037dbb (diff) | |
download | mongo-4ad639d67072c0dfa0e25289b7b938c2c72b209e.tar.gz |
Revert "SERVER-41365 include the particular namespace in 'ns not found' error messages"
This reverts commit 485fdf001d39c7f809ead645d5d892b5094e9431.
Diffstat (limited to 'src/mongo/db/s/check_sharding_index_command.cpp')
-rw-r--r-- | src/mongo/db/s/check_sharding_index_command.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/check_sharding_index_command.cpp b/src/mongo/db/s/check_sharding_index_command.cpp index e7bb5970e91..b8c39db6577 100644 --- a/src/mongo/db/s/check_sharding_index_command.cpp +++ b/src/mongo/db/s/check_sharding_index_command.cpp @@ -90,7 +90,7 @@ public: AutoGetCollectionForReadCommand autoColl(opCtx, nss); Collection* const collection = autoColl.getCollection(); if (!collection) { - errmsg = "Collection '" + nss.ns() + "' does not exist (ns not found)"; + errmsg = "ns not found"; return false; } |