Convert floats to string
We do it for int values, so floats should be covered, too. Change-Id: I1b98f7887ad421596b3bfdf2f6ad871a7d7f6bb2
This commit is contained in:
parent
059d314ba4
commit
b8874ffc98
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user