mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
[AWS] Add Ansible Version to botocore user agent string (#39993)
Pull `config` out if it was provided to boto3_conn and add the useragent string
This commit is contained in:
@@ -319,7 +319,9 @@ def walk_test_targets(path=None, module_path=None, extensions=None, prefix=None,
|
||||
file_path = os.path.join(root, file_name)
|
||||
|
||||
if os.path.islink(file_path):
|
||||
continue
|
||||
# special case to allow a symlink of ansible_release.py -> ../release.py
|
||||
if file_path != 'lib/ansible/module_utils/ansible_release.py':
|
||||
continue
|
||||
|
||||
yield TestTarget(file_path, module_path, prefix, path)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user