From: Alex O'Rourke Date: Fri, 20 Nov 2015 19:25:19 +0000 (-0800) Subject: LeftHand: Remove self.db assignment X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=2a58bab0f14ced3067fe8b5dcd37495d32045a01;p=openstack-build%2Fcinder-build.git LeftHand: Remove self.db assignment 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 --- diff --git a/cinder/volume/drivers/hpe/hpe_lefthand_iscsi.py b/cinder/volume/drivers/hpe/hpe_lefthand_iscsi.py index d6268d08e..7b3fc073e 100644 --- a/cinder/volume/drivers/hpe/hpe_lefthand_iscsi.py +++ b/cinder/volume/drivers/hpe/hpe_lefthand_iscsi.py @@ -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()