LCVcode / jockey

MIT License
2 stars 3 forks source link

Add filtering by leadership #3

Open LCVcode opened 6 months ago

LCVcode commented 6 months ago

Filtering by unit leadership needs to be added. This is only applicable to units, as no other Juju objects have a concept of leadership.

Further consideration is required to determine how Jockey should behave when it is used to collect non-unit objects and leadership (or non-leadership) is indicated as a filter. Should this be ignored? Should this throw an error or warning?