]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
LeftHand: Remove self.db assignment
authorAlex O'Rourke <alex.orourke@hpe.com>
Fri, 20 Nov 2015 19:25:19 +0000 (11:25 -0800)
committerAlex O'Rourke <alex.orourke@hpe.com>
Fri, 20 Nov 2015 19:31:40 +0000 (11:31 -0800)
DB access was removed in a previous patch when it was no longer
needed at the driver level. The self.db assignment was overlooked
and not removed, even though it is no longer being used.

Change-Id: Ic96c0ae96e78d3d2a0e2b99b7e1ca9461a7e7b27

cinder/volume/drivers/hpe/hpe_lefthand_iscsi.py

index d6268d08ea9552e96d8bff6f4d449c1fb4793d99..7b3fc073ee8ad177c57831cf24771d57ba765ea2 100644 (file)
@@ -155,7 +155,6 @@ class HPELeftHandISCSIDriver(driver.ISCSIDriver):
         # blank is the only invalid character for cluster names
         # so we need to use it as a separator
         self.DRIVER_LOCATION = self.__class__.__name__ + ' %(cluster)s %(vip)s'
-        self.db = kwargs.get('db')
 
     def _login(self):
         client = self._create_client()