Sorry, I'm on crack, I missed line 70/71 which is exactly the 'check if I'm 
leader first':
    if not is_leader():
        return _leader_get(attribute=attribute)


Forgive my earlier rambling. I missed that line and then dug all over to see if 
it was trapped outside of that function.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1654116

Title:
  Attempts to write leadership settings when not the leader during
  relation-changed hooks

To manage notifications about this bug go to:
https://bugs.launchpad.net/autopilot-log-analyser/+bug/1654116/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to