Just a few spelling modification. "occurred"

Change-Id: If7ba51cb61a1d9caae26a27d0e94d8fedd630003
This commit is contained in:
Hyeock Kwon 2016-07-05 17:14:20 +09:00
parent 60b3dfdb02
commit 4547afd0db
3 changed files with 4 additions and 3 deletions

View File

@ -1096,7 +1096,8 @@ class DotHillNotTargetPortal(CinderException):
# Sheepdog
class SheepdogError(VolumeBackendAPIException):
message = _("An error has occured in SheepdogDriver. (Reason: %(reason)s)")
message = _("An error has occurred in SheepdogDriver. "
"(Reason: %(reason)s)")
class SheepdogCmdError(SheepdogError):

View File

@ -1256,7 +1256,7 @@ class HPELeftHandISCSIDriver(driver.ISCSIDriver):
# Update the existing snapshot with the new name.
client.modifySnapshot(snapshot_info['id'], new_vals)
except hpeexceptions.HTTPServerError:
err = (_("An error occured while attempting to modify"
err = (_("An error occurred while attempting to modify "
"Snapshot '%s'.") % snapshot_info['id'])
LOG.error(err)

View File

@ -387,7 +387,7 @@ class SheepdogIOWrapper(io.RawIOBase):
def seek(self, offset, whence=0):
if not self._valid:
msg = _('An error occured while seeking for volume "%s".'
msg = _('An error occurred while seeking for volume "%s".'
) % self._vdiname
raise exception.VolumeDriverException(message=msg)