Closed Cynerva closed 5 years ago
Proposed fix for https://github.com/juju-solutions/interface-http/issues/18. I think the service['hosts'] = ... statement was indented wrong, occurring outside of the loop when it should have been inside it.
service['hosts'] = ...
I'm still testing this.
On closer examination, I think we missed starting with an empty host_set on each iteration too.
host_set
Done testing, this fixed the issue for me. Ready for review.
LGTM
Proposed fix for https://github.com/juju-solutions/interface-http/issues/18. I think the
service['hosts'] = ...
statement was indented wrong, occurring outside of the loop when it should have been inside it.I'm still testing this.