From a2c77b7f260def138a64bc478e78f420df02d5c2 Mon Sep 17 00:00:00 2001 From: xugang Date: Wed, 5 Jul 2017 15:06:29 +0800 Subject: [PATCH] Add a description of the parameters to function. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The content is as follows: :param limit: Maximum number of resources to return. “ Change-Id: Icf50da3a1ca38a406a13c69c3afa6f511044f155 --- ceilometer/api/controllers/v2/resources.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ceilometer/api/controllers/v2/resources.py b/ceilometer/api/controllers/v2/resources.py index fd453c751c..e60d7d4004 100644 --- a/ceilometer/api/controllers/v2/resources.py +++ b/ceilometer/api/controllers/v2/resources.py @@ -139,7 +139,8 @@ class ResourcesController(rest.RestController): """Retrieve definitions of all of the resources. :param q: Filter rules for the resources to be returned. - :param meter_links: option to include related meter links + :param limit: Maximum number of resources to return. + :param meter_links: option to include related meter links. """ rbac.enforce('get_resources', pecan.request)