someengineering/fixinventory

head/tail don't work for searches that contain a with statement

lloesche opened this issue · 0 comments

Description

> search is(aws_elb) with(empty, --> is(aws_ec2_instance)) | count
total matched: 2
total unmatched: 0
> search is(aws_elb) with(empty, --> is(aws_ec2_instance)) | tail 1 | count
total matched: 0
total unmatched: 0
> search is(aws_elb) with(empty, --> is(aws_ec2_instance)) | head 1 | count
total matched: 0
total unmatched: 0

Version

3.0.0a0

Environment

No response

Steps to Reproduce

No response

Logs

No response

Additional Context

No response