fleet icon indicating copy to clipboard operation
fleet copied to clipboard

Cannot add back a delete query in a pack

Open guillaumoplatte opened this issue 5 years ago • 1 comments

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.

guillaumoplatte avatar Apr 17 '20 14:04 guillaumoplatte

As a workaround, use fleetctl to edit the pack.

zwass avatar Apr 30 '20 19:04 zwass