Remove some broken and unnecessary required args logic

This commit is contained in:
Matt Martz 2015-01-19 10:58:22 -06:00
parent d8032ecc81
commit f3d8d0f83f

View file

@ -108,10 +108,6 @@ except ImportError:
def cloud_block_storage(module, state, name, description, meta, size,
snapshot_id, volume_type, wait, wait_timeout):
for arg in (state, name, size, volume_type):
if not arg:
module.fail_json(msg='%s is required for rax_cbs' % arg)
if size < 100:
module.fail_json(msg='"size" must be greater than or equal to 100')