Skip to content

Commit

Permalink
chore: auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Oct 18, 2024
1 parent 3dd4f7c commit 39ea3ed
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,18 @@ def populate_facts(self, connection, ansible_facts, data=None):

# parse native config using the Vrf_address_family template
vrf_address_family_parser = Vrf_address_familyTemplate(
lines=data.splitlines(), module=self._module
lines=data.splitlines(),
module=self._module,
)
objs = list(vrf_address_family_parser.parse().values())

ansible_facts["ansible_network_resources"].pop("vrf_address_family", None)

params = utils.remove_empties(
vrf_address_family_parser.validate_config(
self.argument_spec, {"config": objs}, redact=True
self.argument_spec,
{"config": objs},
redact=True,
),
)

Expand Down

0 comments on commit 39ea3ed

Please sign in to comment.