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:
parent
7865abc22b
commit
35ece66b4c
@ -432,7 +432,7 @@ class OpenStackConfig(object):
|
|||||||
# Only validate cloud name if one was given
|
# Only validate cloud name if one was given
|
||||||
if name and name not in self.cloud_config['clouds']:
|
if name and name not in self.cloud_config['clouds']:
|
||||||
raise exceptions.OpenStackConfigException(
|
raise exceptions.OpenStackConfigException(
|
||||||
"Named cloud {name} requested that was not found.".format(
|
"Cloud {name} was not found.".format(
|
||||||
name=name))
|
name=name))
|
||||||
|
|
||||||
our_cloud = self.cloud_config['clouds'].get(name, dict())
|
our_cloud = self.cloud_config['clouds'].get(name, dict())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user