fleet
fleet copied to clipboard
Cannot add back a delete query in a pack
What version of fleet are you using (fleet version --full)?
fleet - version 2.6.0
What operating system are you using?
RHEL 7.6
What did you do?
I tried to add back a query to a pack which was previously removed from this same pack
What did you expect to see?
The query is added back
What did you see instead?
A beautiful error screen. On the server, I have this error message:
inserting scheduled query: Error 1062: Duplicate entry 'cis-1-2-1' for key 'unique_names_in_packs'"
The query I added (and that I want to add again) doesn't even have this name.
As a workaround, use fleetctl to edit the pack.