summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/cluster_merge_chunks_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/commands/cluster_merge_chunks_cmd.cpp')
-rw-r--r--src/mongo/s/commands/cluster_merge_chunks_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/commands/cluster_merge_chunks_cmd.cpp b/src/mongo/s/commands/cluster_merge_chunks_cmd.cpp
index 07199f02050..684184bf6b0 100644
--- a/src/mongo/s/commands/cluster_merge_chunks_cmd.cpp
+++ b/src/mongo/s/commands/cluster_merge_chunks_cmd.cpp
@@ -159,7 +159,7 @@ public:
firstChunk.getShardId().toString());
remoteCmdObjB.append("epoch", shardVersion.epoch());
remoteCmdObjB.append("timestamp", shardVersion.getTimestamp());
- shardVersion.serializeToBSON(ChunkVersion::kShardVersionField, &remoteCmdObjB);
+ shardVersion.serialize(ChunkVersion::kChunkVersionField, &remoteCmdObjB);
BSONObj remoteResult;