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
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)
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)