← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1751755] Re: wrong description for "resource_limit" in limits API

 

Reviewed:  https://review.openstack.org/548231
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=f0c0634a9285f7a13c9c9b6bfdfc9ca063cddd5b
Submitter: Zuul
Branch:    master

commit f0c0634a9285f7a13c9c9b6bfdfc9ca063cddd5b
Author: wangxiyuan <wangxiyuan@xxxxxxxxxx>
Date:   Tue Feb 27 11:19:57 2018 +0000

    Api-ref: fix resource_limit format
    
    the resource_limit type is integer, not array.
    
    Change-Id: I62fa0a82092945e7d5e866b27eb66a9a6a4e7d86
    Closes-bug: #1751755


** Changed in: keystone
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1751755

Title:
  wrong description for "resource_limit" in limits API

Status in OpenStack Identity (keystone):
  Fix Released

Bug description:
  "resource_limit" is described as array type in the table, but the
  example below shows it's an integer.

  ```
  {
      "links": {
          "self": "http://10.3.150.25/identity/v3/limits";,
          "previous": null,
          "next": null
      },
      "limits": [
          {
              "resource_name": "volume",
              "region_id": null,
              "links": {
                  "self": "http://10.3.150.25/identity/v3/limits/25a04c7a065c430590881c646cdcdd58";
              },
              "service_id": "9408080f1970482aa0e38bc2d4ea34b7",
              "project_id": "3a705b9f56bb439381b43c4fe59dccce",
              "id": "25a04c7a065c430590881c646cdcdd58",
              "resource_limit": 11
          },
          {
              "resource_name": "snapshot",
              "region_id": "RegionOne",
              "links": {
                  "self": "http://10.3.150.25/identity/v3/limits/3229b3849f584faea483d6851f7aab05";
              },
              "service_id": "9408080f1970482aa0e38bc2d4ea34b7",
              "project_id": "3a705b9f56bb439381b43c4fe59dccce",
              "id": "3229b3849f584faea483d6851f7aab05",
              "resource_limit": 5
          }
      ]
  }
  ```

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1751755/+subscriptions


References