mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 01:21:03 +01:00
fix warning with ismaster
This commit is contained in:
parent
ae42460539
commit
e9561a49e9
@ -351,7 +351,7 @@ namespace mongo {
|
||||
help << "{ isMaster : 1 }";
|
||||
}
|
||||
virtual LockType locktype() const { return NONE; }
|
||||
CmdIsMasterOld() : Command("isMaster", true, "ismaster") { }
|
||||
CmdIsMaster() : Command("isMaster", true, "ismaster") { }
|
||||
virtual bool run(const char *ns, BSONObj& cmdObj, string& errmsg, BSONObjBuilder& result, bool /*fromRepl*/) {
|
||||
/* currently request to arbiter is (somewhat arbitrarily) an ismaster request that is not
|
||||
authenticated.
|
||||
|
Loading…
Reference in New Issue
Block a user