From: Jay S. Bryant Date: Thu, 18 Dec 2014 23:16:16 +0000 (-0600) Subject: Fix typo that escaped review in connector.py X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=f03ecd20bdad341677de23cb8c3124754e729c17;p=openstack-build%2Fcinder-build.git Fix typo that escaped review in connector.py There was a typo (cann't) that escaped review of the Huawei SDSHypervisor connector. This patch fixes that typo. It also adds a period to one of the log messages to be consistent with the rest of the messages. Change-Id: Iddb6639ebdbb5facdf47800fc783330d674bff2f --- diff --git a/cinder/brick/initiator/connector.py b/cinder/brick/initiator/connector.py index 2c4d46c69..dd7bb6fcf 100644 --- a/cinder/brick/initiator/connector.py +++ b/cinder/brick/initiator/connector.py @@ -956,7 +956,7 @@ class HuaweiStorHyperConnector(InitiatorConnector): if not os.path.isfile(self.cli_path): self.iscliexist = False LOG.error(_LE('SDS CLI file not found, ' - 'HuaweiStorHyperConnector init failed')) + 'HuaweiStorHyperConnector init failed.')) super(HuaweiStorHyperConnector, self).__init__(root_helper, driver=driver, execute=execute, @@ -1018,7 +1018,7 @@ class HuaweiStorHyperConnector(InitiatorConnector): LOG.debug("Enter into _cli_cmd.") if not self.iscliexist: msg = _("SDS command line doesn't exist, " - "cann't execute SDS command.") + "can't execute SDS command.") raise exception.BrickException(msg=msg) if not method or volume_name is None: return