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:
parent
b9ea646839
commit
4006f1ba40
1 changed files with 1 additions and 3 deletions
|
@ -44,7 +44,7 @@ options:
|
|||
state:
|
||||
description:
|
||||
- Register or deregister the instance
|
||||
required: true
|
||||
default: present
|
||||
choices: ['present', 'absent']
|
||||
name:
|
||||
description:
|
||||
|
@ -389,8 +389,6 @@ except ImportError:
|
|||
|
||||
|
||||
def create_block_device_meta(module, volume):
|
||||
MAX_IOPS_TO_SIZE_RATIO = 30
|
||||
|
||||
# device_type has been used historically to represent volume_type,
|
||||
# however ec2_vol uses volume_type, as does the BlockDeviceType, so
|
||||
# we add handling for either/or but not both
|
||||
|
|
Loading…
Reference in a new issue