diff options
author | Spencer T Brody <spencer@mongodb.com> | 2015-08-19 17:14:33 -0400 |
---|---|---|
committer | Spencer T Brody <spencer@mongodb.com> | 2015-08-25 12:56:28 -0400 |
commit | f415aad16ec26a89110a71232dc898218dc5d85c (patch) | |
tree | 14cae84b235c52981d8d661b5219d02aab193cf0 /src/mongo/s/commands/cluster_list_shards_cmd.cpp | |
parent | eb0430ee860d22b164cd603ce7186842f72c8537 (diff) | |
download | mongo-f415aad16ec26a89110a71232dc898218dc5d85c.tar.gz |
SERVER-19875 Add OperationContext to CatalogManager::getAllShards
Diffstat (limited to 'src/mongo/s/commands/cluster_list_shards_cmd.cpp')
-rw-r--r-- | src/mongo/s/commands/cluster_list_shards_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/commands/cluster_list_shards_cmd.cpp b/src/mongo/s/commands/cluster_list_shards_cmd.cpp index da852b42ee7..dedbc136726 100644 --- a/src/mongo/s/commands/cluster_list_shards_cmd.cpp +++ b/src/mongo/s/commands/cluster_list_shards_cmd.cpp @@ -74,7 +74,7 @@ public: std::string& errmsg, BSONObjBuilder& result) { std::vector<ShardType> shards; - Status status = grid.catalogManager(txn)->getAllShards(&shards); + Status status = grid.catalogManager(txn)->getAllShards(txn, &shards); if (!status.isOK()) { return appendCommandStatus(result, status); } |