Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ezilber-akamai committed Jan 17, 2025
1 parent d29d305 commit de37317
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions plugins/modules/nodebalancer.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,11 @@
},
)

MUTABLE_FIELDS: Set[str] = {"client_conn_throttle", "tags", "client_udp_sess_throttle"}
MUTABLE_FIELDS: Set[str] = {
"client_conn_throttle",
"tags",
"client_udp_sess_throttle",
}

DOCUMENTATION = r"""
"""
Expand Down Expand Up @@ -388,7 +392,14 @@ def _create_nodebalancer(self) -> Optional[NodeBalancer]:
params = {
k: v
for k, v in self.module.params.items()
if k in {"client_udp_sess_throttle", "client_conn_throttle", "label", "firewall_id", "tags"}
if k
in {
"client_udp_sess_throttle",
"client_conn_throttle",
"label",
"firewall_id",
"tags",
}
}

try:
Expand Down

0 comments on commit de37317

Please sign in to comment.