268
268
log('Function: webservice_relation')
269
269
http_protocol = relation_get('http_protocol') or 'http'
271
270
address = relation_get('private-address')
273
273
# If hostname is IP address or FQDN, use it
274
274
# otherwise use private_address