fleet
fleet copied to clipboard
Running a query via fleetctl with a label that doesn't exist should produce an error
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
- 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".