← Back to team overview

cf-charmers team mailing list archive

Re: Refactor to callback services API (issue 104720044)

 

On 2014/05/29 18:51:20, benjamin.saller wrote:
> hooks/config.py:23: result = subprocess.check_output(['dig', '+short',
> mailto:, address])
> thank you google, there should be a better way, but I've done this too

> hooks/config.py:38: 'ports': [80, 443],
> we still expose 443 but its aspirational iirc

Yeah, I just moved the existing logic, but it did seem like a strange
approach to me.  I expected juju to provide a way to fetch the IP
address instead of the resolved name.

https://codereview.appspot.com/104720044/

-- 
https://code.launchpad.net/~johnsca/charms/trusty/cf-go-router/services-callback-fu/+merge/221443
Your team Cloud Foundry Charmers is requested to review the proposed merge of lp:~johnsca/charms/trusty/cf-go-router/services-callback-fu into lp:~cf-charmers/charms/trusty/cf-go-router/trunk.


References