From 855c954c305ac3a25d1cea1c7638c313ee698b38 Mon Sep 17 00:00:00 2001
From: Frode Nordahl <frode.nordahl@canonical.com>
Date: Thu, 28 Jun 2018 08:58:49 +0200
Subject: [PATCH] Do not write configs on identity-service-relation-changed

Change-Id: I46c7f5d459ae4d3e66777639c4a7f92b94e73f9b
---
 hooks/keystone_hooks.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/hooks/keystone_hooks.py b/hooks/keystone_hooks.py
index 23fe49f9..f2df9638 100755
--- a/hooks/keystone_hooks.py
+++ b/hooks/keystone_hooks.py
@@ -355,8 +355,6 @@ def db_changed():
 @hooks.hook('identity-service-relation-changed')
 @restart_on_change(restart_map(), restart_functions=restart_function_map())
 def identity_changed(relation_id=None, remote_unit=None):
-    CONFIGS.write_all()
-
     notifications = {}
     if is_elected_leader(CLUSTER_RES):
         if not is_db_ready():
-- 
GitLab