canonical / prometheus-scrape-config-k8s-operator

This charmed operator allows operators to fine-tune scrape job configurations before sending them to the Prometheus charmed operator.
https://charmhub.io/prometheus-scrape-config-k8s
Apache License 2.0
1 stars 1 forks source link

Fixed failure to set status on scaling the charm #10

Closed balbirthomas closed 2 years ago

balbirthomas commented 2 years ago

This commit ensures that this Scrape config charm sets Waiting Status with message "follower unit" under all circumstances if the charm is scaled beyond one unit. Note however waiting status is only set for the non leader unit.