Merge "Allow boolean values to pass through to glance"

This commit is contained in:
Jenkins 2016-10-13 14:42:39 +00:00 committed by Gerrit Code Review
commit 70f4d713e2

View File

@ -2988,6 +2988,8 @@ class OpenStackCloud(_normalize.Normalizer):
else: else:
if v is None: if v is None:
ret[k] = None ret[k] = None
elif isinstance(v, bool):
ret[k] = v
else: else:
ret[k] = str(v) ret[k] = str(v)
ret.update(meta) ret.update(meta)