Skip to content

Commit 8deb5d4

Browse files
Merge pull request #31 from NilashishC/master
Remove hardcoded resource names in template Reviewed-by: https://github.com/ansible-zuul[bot]
2 parents adf65ea + 8cd8e2a commit 8deb5d4

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)