summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDwight <dwight@10gen.com>2011-02-01 12:17:41 -0500
committerDwight <dwight@10gen.com>2011-02-01 12:17:41 -0500
commit2320f6211ad7db0bc0f98923472482bd01778844 (patch)
tree7cb2375869a01aad33d72015014f4b4359fea6ef
parent35deed4a4984b59bb7a128d27fc7c17d341506d3 (diff)
downloadmongo-2320f6211ad7db0bc0f98923472482bd01778844.tar.gz
tweak text
-rw-r--r--s/commands_admin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/s/commands_admin.cpp b/s/commands_admin.cpp
index cdeb4a21f91..82355de9086 100644
--- a/s/commands_admin.cpp
+++ b/s/commands_admin.cpp
@@ -1021,10 +1021,10 @@ namespace mongo {
virtual bool slaveOk() const { return true; }
virtual bool adminOnly() const { return true; }
virtual LockType locktype() const { return NONE; }
- virtual void help( stringstream& help ) const { help << "Not supported sharded"; }
+ virtual void help( stringstream& help ) const { help << "Not supported through mongos"; }
bool run(const string& , BSONObj& jsobj, string& errmsg, BSONObjBuilder& /*result*/, bool /*fromRepl*/) {
- errmsg = "replSetGetStatus doesn't work sharded";
+ errmsg = "replSetGetStatus is not supported through mongos";
return false;
}
} cmdReplSetGetStatus;