Comment 2 for bug 1875481

Revision history for this message
Yang Kelvin Liu (kelvin.liu) wrote :

Hi Ken,
`pod-spec-set` can be run on leader unit only.
The error is that Juju complained the `dex-auth/1` is the leader but it was setting podspec.
So we have to check is_leader() then run `pod-spec-set`.