Remove unused context parameter from volume/utils.py methods

Bug #1454212 reported by Abhijeet Malawade
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Abhijeet Malawade

Bug Description

In cinder/volume/utils.py, _usage_from_* methods are not USING context parameter at all.
So the context parameter SHOULD BE removed from all of THESE Methods.

Changed in cinder:
assignee: nobody → Abhijeet Malawade (abhijeet-malawade)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/182250

Changed in cinder:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/182250
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=9eaf095058d59a6950d87cf0c1520ab0938ad80e
Submitter: Jenkins
Branch: master

commit 9eaf095058d59a6950d87cf0c1520ab0938ad80e
Author: Abhijeet Malawade <email address hidden>
Date: Tue May 12 01:58:46 2015 -0700

    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

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in cinder:
milestone: none → liberty-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: liberty-1 → 7.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.