diff --git a/hooks/percona_hooks.py b/hooks/percona_hooks.py index a38d7d2..1e61263 100755 --- a/hooks/percona_hooks.py +++ b/hooks/percona_hooks.py @@ -442,9 +442,10 @@ def shared_db_changed(relation_id=None, unit=None): normalized_address = get_host_ip(hostname) if access_network and not is_address_in_network(access_network, normalized_address): - # NOTE: for configurations using access-network, only setup database - # access if remote unit has presented a hostname or ip address - # thats within the configured network cidr + # NOTE: for configurations using access-network, only setup + # database access if remote unit has presented a + # hostname or ip address thats within the configured + # network cidr return # NOTE: do this before querying access grants