Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-2253

Eliminate distinct exit codes

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.12
    • Component/s: mongo-tools-common
    • Labels:
    • Documentation Changes:
      Not Needed

      Description

      mongo-tools-common has a list of exit code constants added in TOOLS-438. These are not documented and add code complexity for minimal user benefit if any.

      To simplify the code base, we should remove support for distinct exit codes and only exit with "0" or "1" (even if those are provided as constants).

        Attachments

          Activity

            People

            Assignee:
            patrick.freed Patrick Freed
            Reporter:
            david.golden David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: