From 52d6fb4acff7000fe52379ce2d57d5d949d7e32e Mon Sep 17 00:00:00 2001 From: whoami-rajat Date: Tue, 7 Jun 2022 13:36:21 +0530 Subject: [PATCH] Remove redundant line from host_manager.py With change[1], we introduced a redundant line in cinder/scheduler/host_manager.py This patch removes it. [1] I07d74078dbb102490dd722029e32c74cec3aa44c Change-Id: Ic4918c04493360a5913c8f4854bb44b6048af264 --- cinder/scheduler/host_manager.py | 1 - 1 file changed, 1 deletion(-) diff --git a/cinder/scheduler/host_manager.py b/cinder/scheduler/host_manager.py index 021181286eb..f8c47705686 100644 --- a/cinder/scheduler/host_manager.py +++ b/cinder/scheduler/host_manager.py @@ -326,7 +326,6 @@ class BackendState(object): self.volume_backend_name = capability.get('volume_backend_name', None) self.vendor_name = capability.get('vendor_name', None) self.driver_version = capability.get('driver_version', None) - self.driver_version = capability.get('driver_version', None) # Protocols that have variants are replaced with ALL the variants protocol = capability.get('storage_protocol', None)