]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Fix typo that escaped review in connector.py
authorJay S. Bryant <jsbryant@us.ibm.com>
Thu, 18 Dec 2014 23:16:16 +0000 (17:16 -0600)
committerJay S. Bryant <jsbryant@us.ibm.com>
Thu, 18 Dec 2014 23:18:41 +0000 (17:18 -0600)
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

index 2c4d46c6974104d8a666cf9523dfe37b1b929db7..dd7bb6fcff2ac4c68974867ed68980e7ca669177 100644 (file)
@@ -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