Just a few spelling modification. "occurred"
Change-Id: If7ba51cb61a1d9caae26a27d0e94d8fedd630003
This commit is contained in:
parent
60b3dfdb02
commit
4547afd0db
cinder
@ -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):
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user