From 547747dba191df1393a2e216d596faeb491c7e1a Mon Sep 17 00:00:00 2001 From: zhaoleilc <15247232416@163.com> Date: Thu, 28 May 2020 11:10:47 +0800 Subject: [PATCH] Fix a misspelling error in QNAP driver This patch changes "self.enum('createing'" to "self.enum('creating'" at the 1052 line in cinder/volume/drivers/qnap.py Change-Id: Idea7ff7c552e32835f93bd4f0afd934bb4e4fd05 Closes-Bug: #1881057 --- cinder/volume/drivers/qnap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cinder/volume/drivers/qnap.py b/cinder/volume/drivers/qnap.py index b7761fb8a76..096ca5793f6 100644 --- a/cinder/volume/drivers/qnap.py +++ b/cinder/volume/drivers/qnap.py @@ -1049,7 +1049,7 @@ class QnapISCSIDriver(san.SanISCSIDriver): selected_lun = (ET.fromstring(ret['data']).find('LUNInfo') .find('row')) - lun_status = self.enum('createing', 'unmapped', 'mapped') + lun_status = self.enum('creating', 'unmapped', 'mapped') LOG.debug('LUNStatus: %s', selected_lun.find('LUNStatus').text) LOG.debug('lun_status.mapped: %s', six.text_type(lun_status.mapped))