1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

F5: correct check in _transform_api_names API (#53269)

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde 2019-03-04 20:32:34 +05:30 committed by GitHub
parent 2033b3d066
commit 7011257274
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -690,7 +690,7 @@ class ModuleManager(object):
return result
def _transform_api_names(self, item):
if 'subPath' in item and ['subPath'] is None:
if 'subPath' in item and item['subPath'] is None:
return item['name']
result = transform_name(item['fullPath'])
return result