mirror of
https://github.com/ansible/awx.git
synced 2026-05-15 21:37:42 -02:30
fix a subtle bug in ansible_facts lookup filtering
This commit is contained in:
@@ -185,6 +185,7 @@ class SmartFilter(object):
|
|||||||
# appending __exact is basically a no-op, because that's
|
# appending __exact is basically a no-op, because that's
|
||||||
# what the query means if you leave it off
|
# what the query means if you leave it off
|
||||||
k = k[:-len(match)]
|
k = k[:-len(match)]
|
||||||
|
else:
|
||||||
logger.error(
|
logger.error(
|
||||||
'host_filter:{} does not support searching with {}'.format(
|
'host_filter:{} does not support searching with {}'.format(
|
||||||
SmartFilter.SEARCHABLE_RELATIONSHIP,
|
SmartFilter.SEARCHABLE_RELATIONSHIP,
|
||||||
|
|||||||
Reference in New Issue
Block a user