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:
zhaoleilc 2020-05-28 11:10:47 +08:00
parent 25186b3c27
commit 547747dba1
1 changed files with 1 additions and 1 deletions

View File

@ -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))