[DOCS-2705] Update the mongo shell db.auth command to state the return values Created: 11/Feb/14 Updated: 28/Feb/14 Resolved: 28/Feb/14 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual |
| Affects Version/s: | None |
| Fix Version/s: | v1.3.1 |
| Type: | Task | Priority: | Minor - P4 |
| Reporter: | James O'Leary | Assignee: | Sam Kleinman (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: | |
| Days since reply: | 9 years, 50 weeks, 5 days ago |
| Description |
|
The current db.auth page doesn't indicate that the function returns 0 if the command fails. Nor does it state that this function will never throw an exception. We should update this page to explicitly state that the command catches any exception and return 0 to indicate that it has failed.
|
| Comments |
| Comment by Githook User [ 28/Feb/14 ] |
|
Author: {u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}Message: |
| Comment by Githook User [ 28/Feb/14 ] |
|
Author: {u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}Message: |