summaryrefslogtreecommitdiff
path: root/src/mongo/db/keys_collection_client_sharded.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/keys_collection_client_sharded.cpp')
-rw-r--r--src/mongo/db/keys_collection_client_sharded.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/keys_collection_client_sharded.cpp b/src/mongo/db/keys_collection_client_sharded.cpp
index 2f5bb8d6c9c..4b2cb51ce24 100644
--- a/src/mongo/db/keys_collection_client_sharded.cpp
+++ b/src/mongo/db/keys_collection_client_sharded.cpp
@@ -29,12 +29,11 @@
#include "mongo/platform/basic.h"
#include "mongo/db/keys_collection_client_sharded.h"
+
#include "mongo/s/catalog/sharding_catalog_client.h"
namespace mongo {
-namespace {} // namespace
-
KeysCollectionClientSharded::KeysCollectionClientSharded(ShardingCatalogClient* client)
: _catalogClient(client) {}
@@ -50,4 +49,5 @@ Status KeysCollectionClientSharded::insertNewKey(OperationContext* opCtx, const
return _catalogClient->insertConfigDocument(
opCtx, KeysCollectionDocument::ConfigNS, doc, ShardingCatalogClient::kMajorityWriteConcern);
}
+
} // namespace mongo