ec2_lc: fix state doc matching arg_spec (#40792)

* ec2_lc: fix state doc matching arg_spec

* Remove unused variable
This commit is contained in:
René Moser 2018-05-30 15:34:23 +02:00 committed by Sloane Hertel
commit 4006f1ba40

View file

@ -44,7 +44,7 @@ options:
state: state:
description: description:
- Register or deregister the instance - Register or deregister the instance
required: true default: present
choices: ['present', 'absent'] choices: ['present', 'absent']
name: name:
description: description:
@ -389,8 +389,6 @@ except ImportError:
def create_block_device_meta(module, volume): def create_block_device_meta(module, volume):
MAX_IOPS_TO_SIZE_RATIO = 30
# device_type has been used historically to represent volume_type, # device_type has been used historically to represent volume_type,
# however ec2_vol uses volume_type, as does the BlockDeviceType, so # however ec2_vol uses volume_type, as does the BlockDeviceType, so
# we add handling for either/or but not both # we add handling for either/or but not both