CONFIG_FILES is not a constant
The CONFIG_FILES is not a constant, its a method and when this
is passed to the ConfigRenderer it will cause a failure because
the items() function does not exist (since its not a dict).
Change-Id: Ice6cce6a736d96883eb8bc003852c2df60af7c62
Closes-Bug: 1971451
(cherry picked from commit f790b2f645
)
This commit is contained in:
parent
23cdf87953
commit
e86467b57a
|
@ -613,7 +613,7 @@ def cluster_changed(relation_id=None, remote_unit=None):
|
|||
rabbit.CLUSTER_MODE_KEY: config(
|
||||
rabbit.CLUSTER_MODE_KEY)})
|
||||
rabbit.ConfigRenderer(
|
||||
rabbit.CONFIG_FILES).write_all()
|
||||
rabbit.CONFIG_FILES()).write_all()
|
||||
|
||||
if not is_leader() and is_relation_made('nrpe-external-master'):
|
||||
update_nrpe_checks()
|
||||
|
|
Loading…
Reference in New Issue