summaryrefslogtreecommitdiff
path: root/src/mongo/db/service_entry_point_common.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/service_entry_point_common.cpp')
-rw-r--r--src/mongo/db/service_entry_point_common.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/service_entry_point_common.cpp b/src/mongo/db/service_entry_point_common.cpp
index 3bc08313324..b0a79bfde84 100644
--- a/src/mongo/db/service_entry_point_common.cpp
+++ b/src/mongo/db/service_entry_point_common.cpp
@@ -1679,8 +1679,8 @@ void ExecCommandDatabase::_initiateCommand() {
: _invocation->ns();
boost::optional<ChunkVersion> shardVersion;
- if (auto shardVersionElem = request.body[ChunkVersion::kShardVersionField]) {
- shardVersion = ChunkVersion::parse(shardVersionElem);
+ if (auto shardVersionElem = request.body[ShardVersion::kShardVersionField]) {
+ shardVersion = ShardVersion::parse(shardVersionElem);
}
boost::optional<DatabaseVersion> databaseVersion;