summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/check_sharding_index_command.cpp
diff options
context:
space:
mode:
authorDianna Hohensee <dianna.hohensee@mongodb.com>2020-05-13 17:21:24 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-05-14 18:47:42 +0000
commit4ad639d67072c0dfa0e25289b7b938c2c72b209e (patch)
treeaccb11d61196cf7dcc24305b9f96f40e011454ef /src/mongo/db/s/check_sharding_index_command.cpp
parentac93489304b13a7349b303f3f0e5c57210037dbb (diff)
downloadmongo-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.cpp2
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;
}