Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
is_leader requires juju 1.22.0 or better
The ETCD charm fails with a non committal error message when probing for is_leader on juju versions <= 1.21, 1.18 is still the default shipping in universe, and will cause some headaches if users of older juju versions attempt to use this charm as its leveraging the leader election components. There is probably a charm helper for consuming these methods that has a sane fallback strategy, but for now this will satisfy the requirement of blocking installation on anything < 1.22.0 Introduces a new dependency 'semver' to perform the version calculation
- Loading branch information