Skip to content

Fix repetitive rules

Created by: ssttehrani

There is no mechanism to check if a rule has been created before, resulting in repetitive rules in the panel. I just added a check to look for the requested rule, if not exists then create it through an API call.

In the pictures below, you can see 2 rules with the same parameters results in duplicate rules with different IDs.

Screenshot from 2021-01-29 12-45-15 Screenshot from 2021-01-29 12-45-03

Merge request reports