From 2a58bab0f14ced3067fe8b5dcd37495d32045a01 Mon Sep 17 00:00:00 2001 From: Alex O'Rourke Date: Fri, 20 Nov 2015 11:25:19 -0800 Subject: [PATCH] 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 --- cinder/volume/drivers/hpe/hpe_lefthand_iscsi.py | 1 - 1 file changed, 1 deletion(-) 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() -- 2.45.2