]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
fix name 'update_volume_status' to 'update_volume_stats'
authorKun Huang <gareth@unitedstack.com>
Sat, 20 Jul 2013 18:00:33 +0000 (02:00 +0800)
committerKun Huang <gareth@unitedstack.com>
Mon, 22 Jul 2013 16:57:59 +0000 (00:57 +0800)
commit5b50bd8d515e8a69e2f57baffc42f5d4e2bc17a2
tree7d1ac564986506dd77d0ba04ed626d5723753259
parent767a018880e234f5355f6a9777cc22be4bb6e5d0
fix name 'update_volume_status' to 'update_volume_stats'

_update_volume_status() private method is called by
get_volume_stats(). This is confusing as the volume's
stats and not status gets updated.

fixes bug #1199327

Change-Id: I9f7971e457250798320c14d3f58bdc199c8cfceb
14 files changed:
cinder/tests/test_block_device.py
cinder/tests/test_volume.py
cinder/volume/driver.py
cinder/volume/drivers/block_device.py
cinder/volume/drivers/emc/emc_smis_common.py
cinder/volume/drivers/emc/emc_smis_iscsi.py
cinder/volume/drivers/gpfs.py
cinder/volume/drivers/huawei/huawei_iscsi.py
cinder/volume/drivers/lvm.py
cinder/volume/drivers/netapp/iscsi.py
cinder/volume/drivers/netapp/nfs.py
cinder/volume/drivers/nexenta/volume.py
cinder/volume/drivers/nfs.py
cinder/volume/drivers/storwize_svc.py