]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Remove unused context parameter
authorAbhijeet Malawade <Abhijeet.Malawade@nttdata.com>
Tue, 12 May 2015 08:58:46 +0000 (01:58 -0700)
committerAbhijeet Malawade <Abhijeet.Malawade@nttdata.com>
Tue, 12 May 2015 11:42:02 +0000 (04:42 -0700)
commit9eaf095058d59a6950d87cf0c1520ab0938ad80e
tree8bf2aea564adbce91c779f23e00b87870f99b77b
parente8d2a6e74bc26040329113daa3798e3dee81a972
Remove unused context parameter

Below methods from volume utils are not using context parameter:
1. _usage_from_volume
2. _usage_from_backup
3. _usage_from_snapshot
4. _usage_from_consistencygroup
5. _usage_from_cgsnapshot

So the context parameter is removed from all of these methods.

Closes-Bug: #1454212
Change-Id: Id87c5635db4a0e8df00f7bd7b87ffe60876f255c
cinder/tests/unit/test_volume_utils.py
cinder/volume/utils.py