]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Minor optimization in create_volume in HpSanISCSIDriver
authorNirmal Ranganathan <rnirmal@gmail.com>
Fri, 2 Nov 2012 16:49:17 +0000 (11:49 -0500)
committerNirmal Ranganathan <rnirmal@gmail.com>
Fri, 2 Nov 2012 18:37:14 +0000 (13:37 -0500)
commit88d6be0c66694021847574d2e255d69bcd0bda73
tree63512ab7820df45d6625e23e06e50793161d7b8e
parent29378ef7a588b8930329800423d6fc5e344072c7
Minor optimization in create_volume in HpSanISCSIDriver

Removing extra call to getClusterInfo in HpSANISCSIDriver
on every create_volume call. The cluster info is now
being lazily stored in a local variable.

Fixes bug 1074201

Change-Id: Iadf8383dbf87a8e82c649c312c67978c7dd3df71
cinder/volume/san/hp_lefthand.py