hooks: remove our pointless identity-admin-relation-joined hook
and its inspiration, identity-service-relation-joined
This commit is contained in:
parent
098551e0df
commit
18d917ed27
@ -1 +0,0 @@
|
|||||||
keystone_hooks.py
|
|
@ -1 +0,0 @@
|
|||||||
keystone_hooks.py
|
|
@ -163,12 +163,6 @@ def pgsql_db_changed():
|
|||||||
identity_changed(relation_id=rid, remote_unit=unit)
|
identity_changed(relation_id=rid, remote_unit=unit)
|
||||||
|
|
||||||
|
|
||||||
@hooks.hook('identity-service-relation-joined')
|
|
||||||
def identity_joined():
|
|
||||||
""" Do nothing until we get information about requested service """
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
@hooks.hook('identity-service-relation-changed')
|
@hooks.hook('identity-service-relation-changed')
|
||||||
def identity_changed(relation_id=None, remote_unit=None):
|
def identity_changed(relation_id=None, remote_unit=None):
|
||||||
if eligible_leader(CLUSTER_RES):
|
if eligible_leader(CLUSTER_RES):
|
||||||
@ -243,12 +237,6 @@ def ha_changed():
|
|||||||
service_host=config('vip'))
|
service_host=config('vip'))
|
||||||
|
|
||||||
|
|
||||||
@hooks.hook('identity-admin-relation-joined')
|
|
||||||
def admin_relation_joined():
|
|
||||||
""" Do nothing until we get information about requested service """
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
@hooks.hook('identity-admin-relation-changed')
|
@hooks.hook('identity-admin-relation-changed')
|
||||||
def admin_relation_changed():
|
def admin_relation_changed():
|
||||||
relation_data = {
|
relation_data = {
|
||||||
|
Loading…
Reference in New Issue
Block a user