Convert BaseResource.ensureCreated to return a promise.

Review Request #11643 — Created Oct. 4, 2021 and submitted

Information

Review Board
master

Reviewers

This change updates the ensureCreated method to use promises and
async/await instead of callbacks.

  • Ran js-tests.
  • Manually tested a random smattering of UI that might have been
    affected.
Summary ID
Convert BaseResource.ensureCreated to return a promise.
This change updates the `ensureCreated` method to use promises and async/await instead of callbacks. Testing Done: - Ran js-tests. - Manually tested a random smattering of UI that might have been affected.
010ca0a3bbb81d2fe4e3b786eb3c43580e249c07
Description From Last Updated

Col: 56 Missing semicolon.

reviewbotreviewbot

Looks like we're no longer calling this.trigger('published').

chipx86chipx86
Checks run (1 failed, 1 succeeded)
flake8 passed.
JSHint failed.

JSHint

david
chipx86
  1. 
      
  2. Show all issues

    Looks like we're no longer calling this.trigger('published').

  3. 
      
david
david
chipx86
  1. Ship It!
  2. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to master (497d5b2)