mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-30 22:31:25 -07: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:
parent
677fe1076d
commit
dda7d9e704
3 changed files with 22 additions and 9 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue