Releases: vseinstrumentiru/sloth
v0.11.1-vi
WARNING! Use only pre built binaries as this is a fork and it can't be installed with go install
. (as a fork has another package namespace and it's hard to maintain fork without disrupting the sync between origin and the fork)
This is an unofficial modification of sloth.dev that allows you to prevent sloth duplicates if you have multiple spec files. Having sloth duplicates can cause an issue (slok#493).
This version has the SLO duplicate check enabled by default. So, if you have some files or multifile specs with the same sloth_slo_id
(computed as service
+ "-"
+ slo name
), when you run the sloth validate
command, it reports an error with details (a file where the SLO is defined and the SLO name) stating SLO Duplicated.
If you understand the danger of having duplicate SLOs, you can disable the duplicate check by adding --ignore-slo-duplicates
, for example: sloth validate --ignore-slo-duplicates -input ...
.
NOTE: The sloth generate
command does not validate spec files for SLO duplicates. Please use sloth validate
to check your specs for duplicates and other errors.
What's Changed
New Contributors
Full Changelog: https://github.com/vseinstrumentiru/sloth/commits/v0.11.1-vi