You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
If cortextool rules sync is ran without parameters for rule-files or rule-dirs then it assumes a null set of rules and deletes all the rules on the destination ruler without further warning.
I would expect if it was told to do a rules sync, then it should have either a rule-files, or a rule-dirs parameter and if one or other is not set, it should exit with an error. If deleting all rules is the desired behaviour, then this should happen with either parameter set to /dev/null
Thanks.
The text was updated successfully, but these errors were encountered:
* check for updated README.md in CI
Signed-off-by: Tom Hayward <[email protected]>
* add missing values
Signed-off-by: Tom Hayward <[email protected]>
* generate readme
Signed-off-by: Tom Hayward <[email protected]>
Hi,
If
cortextool rules sync
is ran without parameters forrule-files
orrule-dirs
then it assumes a null set of rules and deletes all the rules on the destination ruler without further warning.I would expect if it was told to do a rules sync, then it should have either a
rule-files
, or arule-dirs
parameter and if one or other is not set, it should exit with an error. If deleting all rules is the desired behaviour, then this should happen with either parameter set to /dev/nullThanks.
The text was updated successfully, but these errors were encountered: