Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-60948

Make errCode Values Const

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • Morpheus
    • Morpheus
    • eventing
    • None
    • 0

    Description

      Carrying forward the discussion in the Gerrit thread (link), we can convert the errCode's to const in the Go code to ensure that these variables, that are assigned to their corresponding error codes are not reassigned/modified elsewhere.

      Attachments

        For Gerrit Dashboard: MB-60948
        # Subject Branch Project Status CR V

        Activity

          People

            hiren.bavaskar Hiren Bavaskar
            rishit.chaudhary Rishit Chaudhary
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change

                PagerDuty