Merge pull request #6408 from risaacson/migrate_booleans_bool_digital_ocean

Bulk update of choices=BOOLEANS to type='bool'
reviewable/pr18780/r1
Michael DeHaan 11 years ago
commit fff3af24e0

@ -399,9 +399,9 @@ def main():
image_id = dict(type='int'), image_id = dict(type='int'),
region_id = dict(type='int'), region_id = dict(type='int'),
ssh_key_ids = dict(default=''), ssh_key_ids = dict(default=''),
virtio = dict(type='bool', choices=BOOLEANS, default='yes'), virtio = dict(type='bool', default='yes'),
private_networking = dict(type='bool', choices=BOOLEANS, default='no'), private_networking = dict(type='bool', default='no'),
backups_enabled = dict(type='bool', choices=BOOLEANS, default='no'), backups_enabled = dict(type='bool', default='no'),
id = dict(aliases=['droplet_id'], type='int'), id = dict(aliases=['droplet_id'], type='int'),
unique_name = dict(type='bool', default='no'), unique_name = dict(type='bool', default='no'),
wait = dict(type='bool', default=True), wait = dict(type='bool', default=True),

Loading…
Cancel
Save