From 1d62283796c476f9955a7c7fba25fd49d8d9eedf Mon Sep 17 00:00:00 2001 From: James Mighion Date: Wed, 5 Jul 2017 09:50:53 -0700 Subject: [PATCH] Making iosxr check_args call module_util/iosxr check_args. Fixes #25501 (#26261) --- lib/ansible/modules/network/iosxr/iosxr_config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ansible/modules/network/iosxr/iosxr_config.py b/lib/ansible/modules/network/iosxr/iosxr_config.py index a01ac9041b..125b7d2e7d 100644 --- a/lib/ansible/modules/network/iosxr/iosxr_config.py +++ b/lib/ansible/modules/network/iosxr/iosxr_config.py @@ -182,11 +182,13 @@ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.netcfg import NetworkConfig, dumps from ansible.module_utils.iosxr import load_config,get_config from ansible.module_utils.iosxr import iosxr_argument_spec +from ansible.module_utils.iosxr import check_args as iosxr_check_args DEFAULT_COMMIT_COMMENT = 'configured by iosxr_config' def check_args(module, warnings): + iosxr_check_args(module, warnings) if module.params['comment']: if len(module.params['comment']) > 60: module.fail_json(msg='comment argument cannot be more than 60 characters')