Skip to content

Commit 8cd8e2a

Browse files
committed
Remove hardcoded resource names in template
Signed-off-by: NilashishC <[email protected]>
1 parent b5ff448 commit 8cd8e2a

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ from ansible.module_utils.six import string_types, iteritems
1212
from {{ import_path }}. \
1313
{{ network_os }}.argspec.facts.facts import FactsArgs
1414
from {{ import_path }}. \
15-
{{ network_os }}.argspec.interfaces.interfaces import {{ resource|capitalize }}Args
15+
{{ network_os }}.argspec.{{ resource }}.{{ resource }} import {{ resource|capitalize }}Args
1616
from {{ import_path }}. \
1717
{{ network_os }}.facts.base import FactsBase
1818
from {{ import_path }}. \

0 commit comments

Comments
 (0)