From ff5685caff70d27ecebdd998e62702a2d0e05fde Mon Sep 17 00:00:00 2001 From: WenjunWang1992 <10191230@zte.com.cn> Date: Mon, 14 Mar 2016 17:10:16 +0800 Subject: [PATCH] Wrong comment line in quotas.py The commonts are not suitable in the code below: 1)in function "show" origin: :param id:target project id that needs to be updated change to: :param id:target project id that needs to be shown 2)in function "delete" origin: :param id:target project id that needs to be updated change to: :param id:target project id that needs to be deleted Change-Id: I5b14c400a3b0117e43f1192c3deac76cb81c2c1b Closes-Bug: #1556761 --- cinder/api/contrib/quotas.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cinder/api/contrib/quotas.py b/cinder/api/contrib/quotas.py index 84016d87d..264c04130 100644 --- a/cinder/api/contrib/quotas.py +++ b/cinder/api/contrib/quotas.py @@ -163,7 +163,7 @@ class QuotaSetsController(wsgi.Controller): a show. :param req: request - :param id: target project id that needs to be updated + :param id: target project id that needs to be shown """ context = req.environ['cinder.context'] authorize_show(context) @@ -352,7 +352,7 @@ class QuotaSetsController(wsgi.Controller): CLOUD admin are able to perform a delete. :param req: request - :param id: target project id that needs to be updated + :param id: target project id that needs to be deleted """ context = req.environ['cinder.context'] authorize_delete(context) -- 2.45.2