Remove redundant "state" validity check.

pull/4420/head
Ash Wilson 2015-02-19 13:41:29 -05:00 committed by Matt Clay
parent 9dfba4881f
commit 0177ba903a
1 changed files with 0 additions and 3 deletions

View File

@ -116,9 +116,6 @@ def cloud_load_balancer_ssl(module, loadbalancer, state, enabled, private_key,
else:
certificate = certificate.strip()
if state not in ('present', 'absent'):
module.fail_json(msg="State must be either 'present' or 'absent'.")
attempts = wait_timeout / 5
# Locate the load balancer.