-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
None
Currently it prints this:
{ "errmsg" : "neither master/slave nor replica set replication detected" }It should detect that it's connected to a slave and just run db.printSlaveReplicationInfo() automatically.