fleet icon indicating copy to clipboard operation
fleet copied to clipboard

Running a query via fleetctl with a label that doesn't exist should produce an error

Open dherder opened this issue 4 months ago • 0 comments

Fleet version: 4.58.0

Web browser and operating system: n/a


💥  Actual behavior

See https://fleetdm.slack.com/archives/C019WG4GH0A/p1729274331778759

🧑‍💻  Steps to reproduce

  1. run fleetctl query --labels 'boop' --query 'SELECT * FROM uptime;' --exit where label "boop" doesn't exist.

The command will produce results but it is not clear how it is filtered. There should be some error like "Cannot execute query, label "boop" does not exist".

dherder avatar Oct 18 '24 18:10 dherder