Uploaded image for project: 'Couchbase node.js Client Library'
  1. Couchbase node.js Client Library
  2. JSCBC-588

bucketmanager.js wrong status

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.0.0-beta.1
    • 3.0.0-alpha2
    • library
    • 1

    Description

      return PromiseHelper.wrap(async () => {
      var res = await this._http.request(

      { type: 'MGMT', method: 'GET', path: `/pools/default/buckets`, timeout: options.timeout, }

      );

      //wrong if (res.statusCode !== 201) {
      if (res.statusCode !== 200)

      { throw new Error('failed to get all bucket'); }


      return JSON.parse(res.body);
      }, callback);

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            brett19 Brett Lawson
            valenti Alessandro Valenti
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty