Tidy lint

This commit is contained in:
James Page 2015-09-21 08:57:40 +01:00
parent 64c1a42c18
commit 2b3adce73b

View File

@ -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