Skip to content

Commit

Permalink
addressed PR review
Browse files Browse the repository at this point in the history
  • Loading branch information
AnilGadiyarHJ committed Dec 11, 2024
1 parent aaff22d commit d07f169
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/modules/ipam_address_block.py
Original file line number Diff line number Diff line change
Expand Up @@ -2386,7 +2386,7 @@ def __init__(self, *args, **kwargs):
self._payload_params = {k: v for k, v in self.params.items() if v is not None and k not in exclude}
self._payload = AddressBlock.from_dict(self._payload_params)

# Safely remove unwanted attributes
# Unset unsupported DHCP configuration attributes
if self._payload.dhcp_config:
self._payload.dhcp_config.abandoned_reclaim_time = None
self._payload.dhcp_config.abandoned_reclaim_time_v6 = None
Expand Down

0 comments on commit d07f169

Please sign in to comment.