fix spelling error with errormessage

Change-Id: Iafb48bcbfc85af2a33426048f85c7c281b767d89
This commit is contained in:
wangqi 2018-03-13 04:34:42 +00:00
parent 12483f1995
commit b9f1fdbca7
1 changed files with 2 additions and 2 deletions

View File

@ -139,7 +139,7 @@ class SCSTAdm(iscsi.ISCSITarget):
LOG.error("Failed to set 'enable' attribute for "
"SCST target %s", e)
raise exception.ISCSITargetHelperCommandFailed(
error_mesage="Failed to enable SCST Target.")
error_message="Failed to enable SCST Target.")
if chap_auth and self.target_name:
try:
chap_string = self._iscsi_authentication('IncomingUser=',
@ -157,7 +157,7 @@ class SCSTAdm(iscsi.ISCSITarget):
"SCST target.")
LOG.exception(msg)
raise exception.ISCSITargetHelperCommandFailed(
error_mesage=msg)
error_message=msg)
if self.target_name:
if self._get_group() is None: