From 50bc30438bf2e707c2948607d123e0977e5bf714 Mon Sep 17 00:00:00 2001 From: Sumanth Lingappa <42572246+sumanth-lingappa@users.noreply.github.com> Date: Thu, 11 Apr 2024 14:30:38 +0530 Subject: [PATCH] Update common.py --- plugins/module_utils/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/module_utils/common.py b/plugins/module_utils/common.py index a41eed613..95bf6e160 100644 --- a/plugins/module_utils/common.py +++ b/plugins/module_utils/common.py @@ -265,7 +265,7 @@ def get_bindprimary_key(binding_name, binding_member): if bindprimary_key == "ip": if ( "ip" not in binding_member - or binding_member["ip"] == "0.0.0.0" # nosec: B104 + or binding_member["ip"] == "0.0.0.0" ): bindprimary_key = "servername" elif "servername" in binding_member and binding_member["servername"]: