From f03ecd20bdad341677de23cb8c3124754e729c17 Mon Sep 17 00:00:00 2001 From: "Jay S. Bryant" Date: Thu, 18 Dec 2014 17:16:16 -0600 Subject: [PATCH] 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 --- cinder/brick/initiator/connector.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.45.2