Description
Issue Summary
When running "alerta delete" it does not appear to remove them all. I have to run the command multiple times to get all of the alerts cleared. I have tried waiting for a couple of minutes after running the command but it does not help.
Example:
$ alerta delete
Deleting all alerts. Do you want to continue? [y/N]: y
Deleting 178 alerts [####################################] 100%
$ alerta delete
Deleting all alerts. Do you want to continue? [y/N]: y
Deleting 129 alerts [####################################] 100%
$ alerta delete
Deleting all alerts. Do you want to continue? [y/N]: y
Deleting 82 alerts [####################################] 100%
$ alerta delete
Deleting all alerts. Do you want to continue? [y/N]: y
Deleting 34 alerts [####################################] 100%
$ alerta delete
Deleting all alerts. Do you want to continue? [y/N]: y
$
Environment
-
OS: Linux
-
API version: 8.0.3
-
Deployment: self hosted
-
For self-hosted, WSGI environment: nginx/uwsgi
-
Database: Mongo
-
web UI version: 8.0
-
CLI version: 8.0
Metadata
Metadata
Assignees
Labels
Type
Projects
Status