From: WenjunWang1992 <10191230@zte.com.cn> Date: Mon, 14 Mar 2016 09:10:16 +0000 (+0800) Subject: Wrong comment line in quotas.py X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=ff5685caff70d27ecebdd998e62702a2d0e05fde;p=openstack-build%2Fcinder-build.git 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 --- 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)