-
Type: Improvement
-
Resolution: Duplicate
-
Priority: Trivial - P5
-
None
-
Affects Version/s: 4.0.0-rc5
-
Component/s: Shell
-
None
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?
- duplicates
-
SERVER-35579 Improve user experience for db.enableFreeMonitoring() when endpoint is down
- Closed