Convert floats to string

We do it for int values, so floats should be covered, too.

Change-Id: I1b98f7887ad421596b3bfdf2f6ad871a7d7f6bb2
This commit is contained in:
David Shrewsbury 2015-11-05 10:26:10 -05:00
parent 059d314ba4
commit b8874ffc98

View File

@ -239,6 +239,8 @@ class OpenStackConfig(object):
new_config[key] = value
elif isinstance(value, int):
new_config[key] = str(value)
elif isinstance(value, float):
new_config[key] = str(value)
else:
new_config[key] = value
return new_config