Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 23, 2024
1 parent ef1e7f5 commit b11d390
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ 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,
)
obj = vrf_address_family_parser.parse()
objs = list(obj.values())
Expand All @@ -81,7 +82,9 @@ def populate_facts(self, connection, ansible_facts, data=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 b11d390

Please sign in to comment.