Fix is_public type on os_image

Without this fix, the is_public value is a string and the shade
call handling the module does not evaluate correctly when
passing is_public: no
This commit is contained in:
Ricardo Carrillo Cruz 2016-03-29 11:37:49 +00:00 committed by Matt Clay
parent 45076bddb9
commit 5d402f31c8

View file

@ -127,7 +127,7 @@ def main():
owner = dict(default=None),
min_disk = dict(type='int', default=0),
min_ram = dict(type='int', default=0),
is_public = dict(default=False),
is_public = dict(type='bool', default=False),
filename = dict(default=None),
ramdisk = dict(default=None),
kernel = dict(default=None),