Change 'cound' to 'could' in error message

Clean up a couple of typos in error messages.

Change-Id: I57b559b053d2fb0e5406ba29f303309abc9c9875
This commit is contained in:
Brad P. Crochet 2016-12-06 07:38:59 -05:00
parent bb7e8dbe3a
commit 700b32fbcc
2 changed files with 4 additions and 4 deletions

View File

@ -202,14 +202,14 @@ class OvercloudRcAction(base.TripleOAction):
stack = orchestration_client.stacks.get(self.container)
except heat_exc.HTTPNotFound:
error = (
"The Heat stack {} cound not be found. Make sure you have "
"The Heat stack {} could not be found. Make sure you have "
"deployed before calling this action.").format(self.container)
return mistral_workflow_utils.Result(error=error)
try:
environment = workflow_client.environments.get(self.container)
except mistralclient_exc.APIException:
error = "The Mistral environment {} cound not be found.".format(
error = "The Mistral environment {} could not be found.".format(
self.container)
return mistral_workflow_utils.Result(error=error)

View File

@ -279,7 +279,7 @@ class OvercloudRcActionTestCase(base.TestCase):
result = action.run()
self.assertEqual(result.error, (
"The Heat stack overcast cound not be found. Make sure you have "
"The Heat stack overcast could not be found. Make sure you have "
"deployed before calling this action."
))
@ -299,7 +299,7 @@ class OvercloudRcActionTestCase(base.TestCase):
self.assertEqual(
result.error,
"The Mistral environment overcast cound not be found.")
"The Mistral environment overcast could not be found.")
@mock.patch('tripleo_common.actions.base.TripleOAction.'
'get_workflow_client')