Typos
This commit is contained in:
parent
b7e3210631
commit
34b7f2ccc1
|
@ -218,7 +218,7 @@ def run_module():
|
|||
config_file=dict(type='str', required=False),
|
||||
timeout=dict(type='int', default=30),
|
||||
state=dict(type='str', default='present',
|
||||
choices=['absent', 'present', 'pause']),
|
||||
choices=['absent', 'present', 'paused']),
|
||||
))
|
||||
|
||||
# seed the result dict in the object
|
||||
|
@ -247,7 +247,7 @@ def run_module():
|
|||
device_exists = False
|
||||
if 'deviceID' in device and device['deviceID'] == module.params['id']:
|
||||
device_exists = True
|
||||
want_pause = module.params['state'] == 'pause'
|
||||
want_pause = module.params['state'] == 'paused'
|
||||
|
||||
if module.params['state'] == 'absent':
|
||||
if device_exists:
|
||||
|
|
Loading…
Reference in New Issue
Block a user