Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-67991

clean up create_indexes.js

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2022-07-25

      Couple of areas for improvement:

      • replace references to the var keyword with const or let
      • be specific with expected errors codes rather than just check for assert(!res.ok).

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: