diff options
author | matt dannenberg <matt.dannenberg@10gen.com> | 2014-05-19 13:28:28 -0400 |
---|---|---|
committer | matt dannenberg <matt.dannenberg@10gen.com> | 2014-05-22 12:18:42 -0400 |
commit | 3cb9955b05bdef78cb8f72f63e657d920c0fa0bb (patch) | |
tree | 7768ef10ba9b219e22a04905ffa090d56ed1592d /src/mongo/db/commands/oplog_note.cpp | |
parent | 0d088b82f1490aa7053fdf2748a55162b30970c4 (diff) | |
download | mongo-3cb9955b05bdef78cb8f72f63e657d920c0fa0bb.tar.gz |
SERVER-14021 move all replication code into namespace replset
Diffstat (limited to 'src/mongo/db/commands/oplog_note.cpp')
-rw-r--r-- | src/mongo/db/commands/oplog_note.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/commands/oplog_note.cpp b/src/mongo/db/commands/oplog_note.cpp index e4d8924408e..ef4b9bb3fa0 100644 --- a/src/mongo/db/commands/oplog_note.cpp +++ b/src/mongo/db/commands/oplog_note.cpp @@ -62,7 +62,7 @@ namespace mongo { string& errmsg, BSONObjBuilder& result, bool fromRepl) { - if (!replSettings.master) { + if (!replset::replSettings.master) { return appendCommandStatus(result, Status( ErrorCodes::NoReplicationEnabled, "Must have replication set up to run \"appendOplogNote\"")); @@ -73,7 +73,7 @@ namespace mongo { return appendCommandStatus(result, status); } - logOpComment(dataElement.Obj()); + replset::logOpComment(dataElement.Obj()); return true; } |