From 34b7f2ccc13d9b72f8afb0cdeed5511407859b86 Mon Sep 17 00:00:00 2001 From: Peter Surda Date: Mon, 22 Apr 2024 22:54:40 +0800 Subject: [PATCH] Typos --- collection/plugins/modules/device.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/collection/plugins/modules/device.py b/collection/plugins/modules/device.py index b92170e..20d2b6f 100644 --- a/collection/plugins/modules/device.py +++ b/collection/plugins/modules/device.py @@ -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: