mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-25 09:19:32 +01:00
add auth() call to mongostat SERVER-3875
with this fix, mongostat can work with authentication enabled.
This commit is contained in:
parent
684fc18ae4
commit
c05baff357
@ -370,6 +370,8 @@ namespace mongo {
|
||||
return -1;
|
||||
}
|
||||
|
||||
auth();
|
||||
|
||||
_sleep = getParam( "sleep" , _sleep );
|
||||
_all = hasParam( "all" );
|
||||
if ( _many )
|
||||
|
Loading…
Reference in New Issue
Block a user