Skip to content

Commit

Permalink
Update common.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sumanth-lingappa authored Apr 11, 2024
1 parent 8547b21 commit 50bc304
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/module_utils/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Check warning

Code scanning / Bandit

Possible binding to all interfaces. Warning

Possible binding to all interfaces.
):
bindprimary_key = "servername"
elif "servername" in binding_member and binding_member["servername"]:
Expand Down

0 comments on commit 50bc304

Please sign in to comment.