From 300d1fcc5885a05db67de9e705dc4854d951bd10 Mon Sep 17 00:00:00 2001 From: Sumanth Lingappa Date: Tue, 6 Feb 2024 14:00:29 +0530 Subject: [PATCH] fixed issue #353: systemglobal_authenticationtacacspolicy_binding Signed-off-by: Sumanth Lingappa --- plugins/module_utils/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/module_utils/client.py b/plugins/module_utils/client.py index 344af92e0..61a12b33c 100644 --- a/plugins/module_utils/client.py +++ b/plugins/module_utils/client.py @@ -77,7 +77,7 @@ def url_builder( ) # Append resource id - if id is not None: + if id: # if id is float type and it is equal to int(id) then convert it to int # Reason: nd6ravariables module has a primary key (vlan) of type float # however, the Nitro API expects the id to be of type int