Skip to content

Commit

Permalink
ec2_lc: fix state doc matching arg_spec (ansible#40792)
Browse files Browse the repository at this point in the history
* ec2_lc: fix state doc matching arg_spec

* Remove unused variable
  • Loading branch information
resmo authored and s-hertel committed May 30, 2018
1 parent b9ea646 commit 4006f1b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/ansible/modules/cloud/amazon/ec2_lc.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
state:
description:
- Register or deregister the instance
required: true
default: present
choices: ['present', 'absent']
name:
description:
Expand Down Expand Up @@ -389,8 +389,6 @@


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
Expand Down

0 comments on commit 4006f1b

Please sign in to comment.