From 89a69e6e3894862998fa570ac8e8d0f4e664a7c9 Mon Sep 17 00:00:00 2001 From: Peter Surda Date: Mon, 22 Apr 2024 15:16:59 +0800 Subject: [PATCH] Typo --- collection/plugins/modules/device.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collection/plugins/modules/device.py b/collection/plugins/modules/device.py index c456be3..9572073 100644 --- a/collection/plugins/modules/device.py +++ b/collection/plugins/modules/device.py @@ -133,7 +133,7 @@ def remote_config(module, method='GET', config=None, result=None, device=None): if not result: result = {} - if 'unix_socket' in module['params']: + if 'unix_socket' in module.params: resp, info = fetch_url( module, unix_socket=url, data=data, headers=headers, method=method, timeout=module.params['timeout'])