summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/member_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/member_config.h')
-rw-r--r--src/mongo/db/repl/member_config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/repl/member_config.h b/src/mongo/db/repl/member_config.h
index e68c24b6f2d..cc668fef79c 100644
--- a/src/mongo/db/repl/member_config.h
+++ b/src/mongo/db/repl/member_config.h
@@ -115,7 +115,7 @@ public:
}
/**
- * Gets the horizon name for which the parameters (captured during the first `isMaster`)
+ * Gets the horizon name for which the parameters (captured during the first `hello`)
* correspond.
*/
StringData determineHorizon(const SplitHorizon::Parameters& params) const {
@@ -194,7 +194,7 @@ public:
}
/**
- * Returns true if this member is hidden (not reported by isMaster, not electable).
+ * Returns true if this member is hidden (not reported by "hello", not electable).
*/
bool isHidden() const {
return getHidden();