Details
-
Improvement
-
Resolution: Duplicate
-
Trivial - P5
-
None
-
4.0.0-rc5
-
None
Description
Both of the successful cases in db.enableFreeMonitoring appear to return null, which ends up printing "null" to the shell console. Consider:
rs:PRIMARY> db.enableFreeMonitoring()
|
Successfully initiated free monitoring. The registration is proceeding in the background.
|
Run db.getFreeMonitoringStatus() at any time to check on the progress.
|
null
|
Could this be avoided by simply using a value-less return statement?
Attachments
Issue Links
- duplicates
-
SERVER-35579 Improve user experience for db.enableFreeMonitoring() when endpoint is down
-
- Closed
-