diff options
author | David Storch <david.storch@10gen.com> | 2016-05-23 17:55:01 -0400 |
---|---|---|
committer | David Storch <david.storch@10gen.com> | 2016-05-25 14:40:31 -0400 |
commit | 439df4c3bdff0194cff402a6268a9bdb9de44a7a (patch) | |
tree | c1d0c8d613d65516cce48327d183776464016634 /src/mongo/db/index_legacy.cpp | |
parent | 15deafbf2aa6524f3b05dd729b4ff378e18a2162 (diff) | |
download | mongo-439df4c3bdff0194cff402a6268a9bdb9de44a7a.tar.gz |
SERVER-23945 make IndexCatalog::_fixIndexSpec() use Status instead of throwing
Diffstat (limited to 'src/mongo/db/index_legacy.cpp')
-rw-r--r-- | src/mongo/db/index_legacy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/index_legacy.cpp b/src/mongo/db/index_legacy.cpp index e9d19cc511d..f477b562927 100644 --- a/src/mongo/db/index_legacy.cpp +++ b/src/mongo/db/index_legacy.cpp @@ -40,7 +40,7 @@ namespace mongo { // static -BSONObj IndexLegacy::adjustIndexSpecObject(const BSONObj& obj) { +StatusWith<BSONObj> IndexLegacy::adjustIndexSpecObject(const BSONObj& obj) { std::string pluginName = IndexNames::findPluginName(obj.getObjectField("key")); if (IndexNames::TEXT == pluginName) { |