Fix formulation

Fixed the formulation for the message that appears when cloud config
couldn't be found.

Change-Id: I1a4a83fe598d4eab52713061471fab8d1c46ec91
This commit is contained in:
Arie Bregman 2016-02-18 14:23:12 +02:00
parent 7865abc22b
commit 35ece66b4c

View File

@ -432,7 +432,7 @@ class OpenStackConfig(object):
# Only validate cloud name if one was given
if name and name not in self.cloud_config['clouds']:
raise exceptions.OpenStackConfigException(
"Named cloud {name} requested that was not found.".format(
"Cloud {name} was not found.".format(
name=name))
our_cloud = self.cloud_config['clouds'].get(name, dict())