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)
|
normalized_address = get_host_ip(hostname)
|
||||||
if access_network and not is_address_in_network(access_network,
|
if access_network and not is_address_in_network(access_network,
|
||||||
normalized_address):
|
normalized_address):
|
||||||
# NOTE: for configurations using access-network, only setup database
|
# NOTE: for configurations using access-network, only setup
|
||||||
# access if remote unit has presented a hostname or ip address
|
# database access if remote unit has presented a
|
||||||
# thats within the configured network cidr
|
# hostname or ip address thats within the configured
|
||||||
|
# network cidr
|
||||||
return
|
return
|
||||||
|
|
||||||
# NOTE: do this before querying access grants
|
# NOTE: do this before querying access grants
|
||||||
|
Loading…
Reference in New Issue
Block a user