Correct leader_set call
Fix the call to leader_set in create_initial_servers_and_domains to pass a dict of data, rather than incorrectly just passing two values. Change-Id: Ic12808e1e7f76dfd013cd6ab51f5edccbb73f325 Closes-Bug: 1715567
This commit is contained in:
parent
ad6b78bf1a
commit
8b852fc94a
|
@ -483,7 +483,7 @@ class DesignateCharm(openstack_charm.HAOpenStackCharm):
|
|||
hookenv.config('neutron-domain-email'))
|
||||
# if this fails, we weren't the leader any more; another unit may
|
||||
# attempt to do this too.
|
||||
hookenv.leader_set(KEY, 'done')
|
||||
hookenv.leader_set({KEY: 'done'})
|
||||
|
||||
def update_pools(self):
|
||||
# designate-manage communicates with designate via message bus so no
|
||||
|
|
Loading…
Reference in New Issue