Tidy lint
This commit is contained in:
parent
64c1a42c18
commit
2b3adce73b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user