mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
cleaning
This commit is contained in:
parent
41111d56d1
commit
c8d7d5a21b
@ -128,7 +128,7 @@ namespace mongo {
|
||||
|
||||
LOG(1) << " setShardVersion failed!\n" << result << endl;
|
||||
|
||||
if ( result.getBoolField( "need_authoritative" ) )
|
||||
if ( result["need_authoritative"].trueValue() )
|
||||
massert( 10428 , "need_authoritative set but in authoritative mode already" , ! authoritative );
|
||||
|
||||
if ( ! authoritative ) {
|
||||
|
Loading…
Reference in New Issue
Block a user