summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/sync_tail_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/sync_tail_test.cpp')
-rw-r--r--src/mongo/db/repl/sync_tail_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/sync_tail_test.cpp b/src/mongo/db/repl/sync_tail_test.cpp
index 2fe5ea8b8d4..5ce737f5d11 100644
--- a/src/mongo/db/repl/sync_tail_test.cpp
+++ b/src/mongo/db/repl/sync_tail_test.cpp
@@ -200,7 +200,7 @@ OplogEntry makeCommandOplogEntry(OpTime opTime,
bob.append("h", 1LL);
bob.append("v", 2);
bob.append("op", "c");
- bob.append("ns", nss.getCommandNS());
+ bob.append("ns", nss.getCommandNS().ns());
bob.append("o", command);
return OplogEntry(bob.obj());
}