Skip to content

Commit f38844e

Browse files
committed
Fix outdated facts argument
This commit fixes an outdated argument in network facts gathering, it's no longer there and breaks any network_cli model written with rmb.
1 parent 7626172 commit f38844e

File tree

1 file changed

+1
-1
lines changed
  • roles/scaffold_rm_facts/templates/module_utils/network_os/facts

1 file changed

+1
-1
lines changed

roles/scaffold_rm_facts/templates/module_utils/network_os/facts/facts.py.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class Facts(FactsBase):
4141
"""
4242
netres_choices = FactsArgs.argument_spec['gather_network_resources'].get('choices', [])
4343
if self.VALID_RESOURCE_SUBSETS:
44-
self.get_network_resources_facts(netres_choices, FACT_RESOURCE_SUBSETS, resource_facts_type, data)
44+
self.get_network_resources_facts(FACT_RESOURCE_SUBSETS, resource_facts_type, data)
4545

4646
if self.VALID_LEGACY_GATHER_SUBSETS:
4747
self.get_network_legacy_facts(FACT_LEGACY_SUBSETS, legacy_facts_type)

0 commit comments

Comments
 (0)