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
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user