summaryrefslogtreecommitdiff
path: root/src/mongo/s/d_state.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/d_state.cpp')
-rw-r--r--src/mongo/s/d_state.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/d_state.cpp b/src/mongo/s/d_state.cpp
index 7f7e602b59c..c5c36de789e 100644
--- a/src/mongo/s/d_state.cpp
+++ b/src/mongo/s/d_state.cpp
@@ -982,7 +982,7 @@ namespace mongo {
}
// we can run on a slave up to here
- if (!_isMaster()) {
+ if (!replset::_isMaster()) {
result.append( "errmsg" , "not master" );
result.append( "note" , "from post init in setShardVersion" );
return false;
@@ -1259,7 +1259,7 @@ namespace mongo {
if ( ! shardingState.enabled() )
return true;
- if ( ! isMasterNs( ns.c_str() ) ) {
+ if (!replset::isMasterNs(ns.c_str())) {
// right now connections to secondaries aren't versioned at all
return true;
}